Sends data to a connected TlsSocket using the supplied flags.

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

Syntax

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

Parameters

buffer
Type: array<System..::..Byte>[]()[][]
The data to be sent.
socketFlags
Type: System.Net.Sockets..::..SocketFlags
A bitwise combination of the SocketFlags values.

Return Value

The number of bytes sent.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also