TlsClientSocket.Available Property
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9119)
Available
Gets the amount of data that has been received from the network and is available to be read. Inherited from TlsSocket.
Declaration
public int Available { get; }
Property Value
Type | Description |
---|---|
Int32 | The number of bytes of data that has been received from the network and is available to be read, or 0 if no data is available. |
Remarks
After the socket has been closed, this property will still indicate there is data to be read if there is 1 byte or more data in the receive buffer. If there is no more data to be read, a value of 0 will be returned.