WebSocket.CreateClientBuffer Method

.NET Framework 4.5

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

Supported in: 4.5.2, 4.5.1, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft