ClientWebSocketOptions.SetBuffer Method (Int32, Int32)

.NET Framework 4.5

Sets the client buffer parameters.

Namespace:  System.Net.WebSockets
Assembly:  System (in System.dll)

public void SetBuffer(
	int receiveBufferSize,
	int sendBufferSize
)

Parameters

receiveBufferSize
Type: System.Int32

The size, in bytes, of the client receive buffer.

sendBufferSize
Type: System.Int32

The size, in bytes, of the client send buffer.

.NET Framework

Supported in: 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft