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.