Gets the amount of data that has been received from the network and is available to be read.
The number of bytes of data that has been received from the network and are available to be read.
If you are using a Stream VirtualSocket type, the available data is generally the total amount of data queued on the current instance. If you are using a message-oriented VirtualSocket type such as Dgram, the available data is the first message in the input queue.
Exception Type | Condition |
---|---|
SocketException | An error occurs while accessing the VirtualSocket. |
ObjectDisposedException | The VirtualSocket has been closed. |
VirtualSocket Class | VirtualSocket Members | Org.Mentalis.Security.Ssl Namespace