ClientWebSocketOptions.SetBuffer Method (Int32, Int32)

.NET Framework 4.6 and 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.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft