Wait until a message fragment is received or the specified timout has elapsed.

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

Syntax

Visual Basic
Public Function Poll ( _
	millisecondsTimeOut As Integer _
) As Boolean
C#
public bool Poll(
	int millisecondsTimeOut
)

Parameters

millisecondsTimeOut
Type: System..::..Int32
Specifies the maximum amout of time to wait for a message fragment to be received.

Return Value

True if a message is available to be received.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also