Receives data from a connected TlsSocket.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Public Function Receive ( _
	buffer As ArraySegment(Of Byte) _
) As Integer
C#
public int Receive(
	ArraySegment<byte> buffer
)

Parameters

buffer
Type: System..::..ArraySegment<(Of <(<'Byte>)>)>
The storage location for the received data.

Return Value

The number of bytes received.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also