Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Networking Question

 
Paul Smith
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
before you get any answers, I'm sure someone is going to tell you to change your username.
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic