|
-
October 11th, 1999, 03:34 AM
#1
How can I determine the IP address of a socket connected to my ServerSocket object ?
Hi there,
how can I determine the IP address of a socket connected to my ServerSocket object ?
Bye
Axel
-
October 11th, 1999, 07:36 AM
#2
Re: How can I determine the IP address of a socket connected to my ServerSocket object ?
Socket client = serverSocket.accept();
System.out.println( client.getInetAddress().getHostAddress());
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|