aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes 2 JavaTutorial Errors quick fix 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 "2 JavaTutorial Errors quick fix" Watch "2 JavaTutorial Errors quick fix" New topic
Author

2 JavaTutorial Errors quick fix

john price
Ranch Hand

Joined: Feb 24, 2011
Posts: 495

Taken directly from http://download.oracle.com/javase/tutorial/networking/sockets/examples/KnockKnockServer.java
It is the Java tutorials.
Here is the code and the error.
Code:

And errors:

Please just fix it for me since
1. It's from the tutorials and
2. I don't know hardly anything about servers/clients (which I am using this a learning experience)
Thanks,
John Price aka cc11rocks


“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
Hauke Ingmar Schmidt
Rancher

Joined: Nov 18, 2008
Posts: 371
You are linking to a single source file which is useless. The tutorial is here.

But you need to learn the basics first.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 2 JavaTutorial Errors quick fix
 
Similar Threads
Qn regarding sockets in SCJD
applet loading forever...
Socket : MultiClient Server
sockets and printwriting
Socket problem