Rebex SFTP for .NET

ProxySocket.Available Property

Gets the amount of data that has been received from the network and is available to be read.

public int Available {get;}

Property Value

The number of bytes of data that has been received from the network and are available to be read, or 0 if either no data is available or the ProxySocket is no longer connected.

Remarks

The available data is generally the total amount of data queued on the current instance, or -1 if the socket was closed.

See Also

ProxySocket Class | Rebex.Net Namespace