socket Exception..Bad file number
<p>I have made an client server programe(Socket connection) to transfer images in android,when client connect to server socket than it write image bytes to client output stream,whent i read<br>
client input stream and convert input stream to bitmap,it returns null or skia decoder return null,when i check bytes are receved or not ,it is received and when i write these bytes to sd card it creats the proper image,but i am not able to create bitmap from these byte....</p>

<p>Any suggetion...thanks in advance</p>
