What is a Datagram?

Tim Rohaly

Datagram is another name for a UDP packet. UDP is discussed in more detail in the FAQ at http://www.jguru.com/jguru/faq/view.jsp?EID=9472.

Java provides two classes for explicitly dealing with datagrams, DatagramSocket and DatagramPacket. These are both found in the java.net package.

0 Comments  (click to add your comment)
Comment and Contribute






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