October 22, 2018
Hot Topics:

The one-class server

  • August 6, 1998
  • By Greg Travis
  • Send Email »
  • More Articles »

This article presents a tidy way to quickly implement a simple TCP/IP server. The core of the code exists in a single class, Server.java, so it's easy to set up and use.

The structure of Server.java is simple. It listens on a

Comment and Contribute


(Maximum characters: 1200). You have characters left.



Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

By submitting your information, you agree that developer.com may send you developer offers via email, phone and text message, as well as email offers about other products and services that developer believes may be of interest to you. developer will process your information in accordance with the Quinstreet Privacy Policy.


Thanks for your registration, follow us on our social networks to keep up-to-date