Rebex SFTP for .NET

ProxySocket.Send Method (Byte[], SocketFlags)

Sends data to a connected ProxySocket using the supplied flags.

public int Send(
   byte[] buffer,
   SocketFlags socketFlags
);

Parameters

buffer
The data to be sent.
socketFlags
A bitwise combination of the SocketFlags values.

Return Value

The number of bytes sent.

Remarks

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

See Also

ProxySocket Class | Rebex.Net Namespace | ProxySocket.Send Overload List