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

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

Syntax

Visual Basic
Public ReadOnly Property Available As Integer
	Get
C#
public int Available { get; }

Field Value

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.

Implements

ISocketExt..::..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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also