[android-developers] Exception in socket programming
Hi!
I am trying to make a client server scenario in android. In client project, emulator is acting like a client, and its working fine. But when I run the server code (using emulator), it gives an exception. The server project gives the correct output when I run it as a simple java project.
The exception occurs on the execution of this line,
socket = serverSocket.accept();
Please tell me what to do to get rid of the exception.
Thanks in advance.
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home