Skip to content Skip to sidebar Skip to footer

How To Use Udp Sockets In Android?

I am trying to use UDP sockets in a android, here I send my string from android emulator and receive that by my Java program on PC, but my Java program does not receive anything, a

Solution 1:

On your Android emulation (and Android device), 127.0.0.1 means the Android emulation machine, not the host PC. You can access your host at 10.0.2.2


Post a Comment for "How To Use Udp Sockets In Android?"