jQuery in Action, 3rd edition
The moose likes Sockets and Internet Protocols and the fly likes information of remote server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "information of remote server" Watch "information of remote server" New topic

information of remote server

ajay tiwari

Joined: Jan 20, 2005
Posts: 10
all i am interested to know about the information of remote server like IP Address(to which we conect) not of local system plz some one help me.
Joe Ess

Joined: Oct 29, 2001
Posts: 9168

Don't you need the IP address in order to connect? If you are looking for a host lookup from IP or vice-versa, take a look at java.net.InetAddress

[How To Ask Questions On JavaRanch]
Paul Santa Maria
Ranch Hand

Joined: Feb 24, 2004
Posts: 236
Also, if you want to know the IP address of the remote host in an open socket connection, you might wish to look here:

<= getINetAddress(), etc
I agree. Here's the link: http://aspose.com/file-tools
subject: information of remote server
It's not a secret anymore!