System.Net.Sockets.SocketType.Dgram Field

Supports datagrams, which are connectionless, unreliable messages of a fixed (typically small) maximum length. Messages might be lost or duplicated and might arrive out of order. A System.Net.Sockets.Socket of type SocketType.Dgram requires no connection prior to sending and receiving data, and can communicate with multiple peers. SocketType.Dgram uses the Datagram Protocol (ProtocolType.Udp) and the AddressFamily.InterNetwork System.Net.Sockets.AddressFamily.

Value: Dgram

Syntax

SocketType Dgram

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0