Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DatagramSocketControl.InboundBufferSizeInBytes | inboundBufferSizeInBytes property

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

Syntax


var inboundBufferSizeInBytes = datagramSocketControl.inboundBufferSizeInBytes;
datagramSocketControl.inboundBufferSizeInBytes = inboundBufferSizeInBytes;

Property value

Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

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.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

See also

Other resources
How to use advanced socket controls (HTML)
How to use advanced socket controls (XAML)
Reference
DatagramSocket
DatagramSocketControl

 

 

Show: