File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Java Networking Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java Networking Question" Watch "Java Networking Question" New topic
Author

Java Networking Question

Paul Smith
Greenhorn

Joined: Jan 27, 2005
Posts: 8
Hello People,

I want to write 2 programs:

1. That prints out the IP address of a host at the command line.

2. That prints out the host name corresponding to a given IP address.

Can anyone guide me as to how I proceed - were to start/look etc ??

Thanks a MILLION
Matt Fielder
Ranch Hand

Joined: Oct 27, 2004
Posts: 158
before you get any answers, I'm sure someone is going to tell you to change your username.
ramprasad madathil
Ranch Hand

Joined: Jan 24, 2005
Posts: 489

Pls Change your screen name to something thats close to ur real name.
Then you could go and have a look at Java Netwroking Tutorial

Tx,
Ram.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Networking Question