ClientWebSocketOptions::SetBuffer Method (Int32, Int32, ArraySegment<Byte>)

.NET Framework (current version)
 

Sets client buffer parameters.

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

public:
void SetBuffer(
	int receiveBufferSize,
	int sendBufferSize,
	ArraySegment<unsigned char> buffer
)

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.

buffer
Type: System::ArraySegment<Byte>

The receive buffer to use.

.NET Framework
Available since 4.5
Return to top
Show: