StreamWebSocketControl.OutboundBufferSizeInBytes Property

The size, in bytes, of the send buffer to be used for sending data on a StreamWebSocket object.

Syntax

public:
property uint32 OutboundBufferSizeInBytes {
         uint32 get ();
         void set (uint32 value);
}  

Property value

Type: uint32 

  The size, in bytes, of the send buffer to be used for sending data.

Remarks

For most apps, this property should not be set, since the setting disables TCP send auto-tuning by the system on this StreamWebSocket object.

This property sets the value of the SO_SNDBUF socket option on the TCP socket used by the StreamWebSocket. The default value is the local computer’s default send buffer size.

This property must be set before the StreamWebSocket connection is made. It will not have any effect if set after the connection has been initiated.

Requirements

Namespace: Windows.Networking.Sockets

Metadata: windows.winmd

See also

Reference

StreamWebSocketControl Class

StreamWebSocketControl Members

Windows.Networking.Sockets Namespace