I have tried the example provided by Oracle, but when I run the program (through the Windows 7 CMD), I get the following error: "Don't know about host" + hostName
The code looks like this (exactly the same as the one provided by Oracle):
KnockKnockClient http://docs.oracle.com/javase/tutorial/networking/sockets/examples/KnockKnockClient.java
KnockKnockServer http://docs.oracle.com/javase/tutorial/networking/sockets/examples/KnockKnockServer.java
The KnockKnockProtocol does not really matter, but it is also on there.
I do not know why I get to the exception every time...
And I run the program according to the same links as above.
Regards