I need UDP Communication between my device and/or an another android device / iPhone / Server etc.
While exploring the android developer site I found that their are two packages java.net (plain Java Classes) and android.net(Looks like they are android specific implementations). Which set of classes I should use so that I don't get any problem while connecting to other devices. Which is the most efficient way to provide UDP socket communication in Android. I saw Android UDP Communication but that also looks incomplete.
android.netAFAIK.