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.

About | Sitemap | Contact
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.