This discussion is archived
5 Replies Latest reply: Feb 7, 2012 2:55 AM by gimbal2 RSS

Client Server tutorial - Knock Knock

915615 Newbie
Currently Being Moderated
Hi, I am in the process of running through the Java tutorial on creating a KnockKnock Client and KnockKnock Server.

http://docs.oracle.com/javase/tutorial/networking/sockets/clientServer.html

Part of the tutorial asks me to modify the host name to a valid home name from my network.

How do I find a valid name for my host network?

The following is the part that covers this in the tutorial.

"If you forget to change the host name in the source code for the KnockKnockClient program, you will see the following error message:

Don't know about host: taranis

To fix this, modify the KnockKnockClient program and provide a valid host name for your network. Recompile the client program and try again."

Thanks in advance

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points