I am trying to connect to a standalone desktop tcp server(java) from tcp client application in android device.
But I am not able to connect to that.
I tried to write a desktop tcp client and tried to connect to server(remote server). It is working fine.
But When I am trying to connecting from android, I am getting a IOException while creating Socket instance.
Can anyone help me in this ? Thanks in advance….
OK… for the time being we are doing this by checking the connection every
nseconds.But, still I want to know if there any way like getting callback upon socket connection lost…