Class DatagramSocket

Class java.net.DatagramSocket

Class Members | This Package | All Packages
java.lang.Object
   |
   +----java.net.DatagramSocket

public class DatagramSocket
extends Object

This class represents a socket for sending and receiving datagram packets.

A datagram socket is the sending or receiving point for a connectionless packet delivery service. Each packet sent or received on a datagram socket is individually addressed and routed. Multiple packets sent from one machine to another may be routed differently, and may arrive in any order.

See Also:
DatagramPacket