ClientWebSocketOptions.SetBuffer Method (Int32, Int32)

.NET Framework (current version)
 

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
Available since 4.5
Return to top
Show: