System.Net.Sockets.UdpClient.DontFragment Property

Gets or sets a bool value that specifies whether the System.Net.Sockets.UdpClient allows Internet Protocol (IP) datagrams to be fragmented.

Syntax

public bool DontFragment { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Datagrams require fragmentation when their size exceeds the Maximum Transfer Unit (MTU) of the transmission medium. Datagrams may be fragmented by the sending host or by an intermediate router. If a datagram must be fragmented, and the Socket.DontFragment option is set, the datagram is discarded, and an Internet Control Message Protocol (ICMP) error message is sent back to the sender of the datagram.

Requirements

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