0
I’m trying to implement a point-to-point communication (device to device) and I need to get the real IP of the server device to then insert it into the client but I can’t. I’m using:
ServerSocket server = new ServerSocket(8000);
Log.v("TAG", server.getInetAddress().getHostAddress().toString());
and just returns to me "::".