11-21 14:31:47.323: ERROR/UDP(217): java.net.SocketException: Permission denied (maybe missing INTERNET permission)
It seems like you have not add the permission onto your application. try to do this way
In your manifest.xml file, add this sentence
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
you can find other examples from android SDK doc
By the way, the DatagramSocket CAN be created when you are using '127.0.0.1' in emulator, but if you change it to your host machine's IP address, it still report
errors. I have not figure out the reason yet. Hope some other people can help.
Best,
Echo