Sends data to a connected ProxySocket.

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

Syntax

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

Parameters

buffer
Type: array<System..::..Byte>[]()[][]
The data to be sent.

Return Value

The number of bytes sent.

Remarks

Prior to sending data, the socket must be connected using either a call to Connect(EndPoint) method or a call to Listen(ISocket) and Accept()()()() methods.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also