WebSocket.CreateServerBuffer Method (Int32)

.NET Framework (current version)
 

Creates a WebSocket server buffer.

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

public static ArraySegment<byte> CreateServerBuffer(
	int receiveBufferSize
)

Parameters

receiveBufferSize
Type: System.Int32

The size, in bytes, of the desired buffer.

Return Value

Type: System.ArraySegment<Byte>

Returns ArraySegment<T>.

.NET Framework
Available since 4.5
Return to top
Show: