Android TCP Socket
I am trying to create a new TCP socket in an android emulator. Below is the Android code:
Socket s = new Socket("111.221.88.15", 8080);
But I keep getting UnknownHost Exception. I can create a connection in a C # windows application.
The site is a test project developed in Microsoft Azure. URL: http://tcptest24.cloudapp.net/
I tried to use the URL instead of the IP address and its various variations, but I keep getting the same error.
I hope that we will get bad early response, because I get paid :) and the site is not needed without a client.
Thanks, Anil
+3
source to share