DatagramSocketControl.InboundBufferSizeInBytes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.