Gets the number of bytes available in the receive buffer. If no data is available, the method will process any pending incoming packets.

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

Syntax

Visual Basic
Public Function GetAvailable As Integer
C#
public int GetAvailable()

Return Value

Number of bytes available.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also