Determines the status of the socket.

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

Syntax

Visual Basic
Public Function Poll ( _
	microSeconds As Integer, _
	mode As SocketSelectMode _
) As Boolean
C#
public bool Poll(
	int microSeconds,
	SocketSelectMode mode
)

Parameters

microSeconds
Type: System..::..Int32
Time to wait for a response, in microseconds.
mode
Type: Rebex.Net..::..SocketSelectMode
Select mode.

Return Value

True if data can be sent or read or if the connection was closed.

Implements

ISocket..::..Poll(Int32, SocketSelectMode)

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also