Sends the specified amount of data to a connected TlsSocket starting at the indicated location in the data and using the supplied flags.

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

Syntax

Visual Basic
Public Function Send ( _
	buffer As Byte(), _
	offset As Integer, _
	size As Integer _
) As Integer
C#
public int Send(
	byte[] buffer,
	int offset,
	int size
)

Parameters

buffer
Type: array<System..::..Byte>[]()[][]
The data to be sent.
offset
Type: System..::..Int32
The position in the data buffer to begin sending data.
size
Type: System..::..Int32
The number of bytes to send.

Return Value

The number of bytes sent.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also