JDK Tutorials - Herong's Tutorial Examples - Version 6.01, by Dr. Herong Yang
Datagram Network Communication
This chapter provides tutorial notes and example codes on datagram network communication. Topics include introduction to datagram communication; creating a datagram server and listening for incoming packets; creating a datagram client and sends packets to a server; sample programs: DatagramServer.java and DatagramClient.java.
Sample programs listed in this chapter have been tested with JDK 1.4.1 to 1.8.0.
Table of Contents