WebSocket.CreateClientBuffer Method (Int32, Int32)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Create client buffers to use with this WebSocket instance.

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

static member CreateClientBuffer : 
        receiveBufferSize:int *
        sendBufferSize:int -> ArraySegment<byte>

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: