I have a server socket in my android app and the following lines (listening/waiting for a connection):
rclient = serverSocket.accept();
String stt=rclient.getInetAddress().getHostAddress();
I get this : ::1
Can anyone kindly tell me whats my mistake here ?
I have also tried getRemoteSocketAddress, However, that also gives some crap output./::1/::0142342 ...
thanks.