JDK Tutorials - Herong's Tutorial Examples - v6.21, by Dr. Herong Yang
Socket Network Communication
This chapter provides tutorial notes and example codes on socket network communication. Topics include introduction to socket communication; creating a server socket and listening for connection requests; creating a client socket and connects to a server socket; creating server application for multiple connections; sample programs: ReverseEchoer.java, SocketClient.java, and ReverseEchoServer.java.
Table of Contents