Click to See Complete Forum and Search --> : How can I determine the IP address of a socket connected to my ServerSocket object ?


Axel Goldbach
October 11th, 1999, 03:34 AM
Hi there,

how can I determine the IP address of a socket connected to my ServerSocket object ?

Bye
Axel

poochi
October 11th, 1999, 07:36 AM
Socket client = serverSocket.accept();
System.out.println( client.getInetAddress().getHostAddress());