DatagramSocketControl.InboundBufferSizeInBytes Property

Definition

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

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

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

Property Value

UInt32

uint32_t

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.

Applies to

See also