WebSocket.CreateClientBuffer Method (Int32, Int32)

.NET Framework (current version)
 

Create client buffers to use with this WebSocket instance.

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

public static ArraySegment<byte> CreateClientBuffer(
	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 send buffer.

Return Value

Type: System.ArraySegment<Byte>

Returns ArraySegment<T>.

An array with the client buffers.

.NET Framework
Available since 4.5
Return to top
Show: