I am getting Null Pointer Exception at s=ss.accept(); and not
IOexception .
On Mon, Jul 9, 2012 at 11:04 PM, Justin Anderson magouyaw...@gmail.comwrote:
Well, apparently your ServerSocket is null... Likely you are getting the
IOException... If you hit that exception then ss would be null.
I am trying to receive images over a network, I set up a server as follows
...
public class IServerActivity extends Activity {
ServerSocket ss = null;
Bitmap bp ;
Thread myCommsThread = null;
protected static final int MSG_ID = 0x1337;
public static final int SERVERPORT = 6000;
Well, apparently your ServerSocket is null... Likely you are getting the
IOException... If you hit that exception then ss would be null.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Jul 9, 2012 at 1:08 AM, Akki akshay.iitr@gmail.com wrote:
3 matches
Mail list logo