This weekend I tried my hand on socket programming with Android. I got it challenging, because emulator has its own settings for forwarding the packet. So it is so important to know how emulator forwards packet to any target IP address.
Ex.
If we send packet to 127.0.0.1, a simple thought that will come to mind is packet will be sent to developer host machine, but actually packet is targeted to android device.
I got good help by following page. Please read this before start socket programming on android emulator.
http://developer.android.com/tools/devices/emulator.html#connecting
:) B-)
Ex.
If we send packet to 127.0.0.1, a simple thought that will come to mind is packet will be sent to developer host machine, but actually packet is targeted to android device.
I got good help by following page. Please read this before start socket programming on android emulator.
http://developer.android.com/tools/devices/emulator.html#connecting
:) B-)
No comments:
Post a Comment