• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

2 JavaTutorial Errors quick fix

 
Ranch Hand
Posts: 495
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 436
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You are linking to a single source file which is useless. The tutorial is here.

But you need to learn the basics first.
reply
    Bookmark Topic Watch Topic
  • New Topic