DatagramSocketControl.InboundBufferSizeInBytes DatagramSocketControl.InboundBufferSizeInBytes DatagramSocketControl.InboundBufferSizeInBytes DatagramSocketControl.InboundBufferSizeInBytes DatagramSocketControl.InboundBufferSizeInBytes Property

Definition

Gets or sets the size, in bytes, of the buffer used for receiving data on the DatagramSocket object.

public : unsigned int InboundBufferSizeInBytes { get; set; }
uint32_t InboundBufferSizeInBytes();

void InboundBufferSizeInBytes(uint32_t inboundbuffersizeinbytes);
public uint InboundBufferSizeInBytes { get; set; }
Public ReadWrite Property InboundBufferSizeInBytes As uint
var uint = datagramSocketControl.inboundBufferSizeInBytes;
datagramSocketControl.inboundBufferSizeInBytes = uint;

Property Value

uint uint uint

The size, in bytes, of the buffer used for receiving data on the DatagramSocket object.

Remarks

The InboundBufferSizeInBytes property sets the value of the SO_RCVBUF socket option on the TCP socket used by the DatagramSocket. The default value is the local computer's default receive buffer size. For more detailed information, see SOL_SOCKET Socket Options in the Windows Sockets documentation.

This property may be set before the DatagramSocket is bound or connected. After the DatagramSocket is bound or connected, setting this property will result in an error.

See also