ISocket.Poll Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
Poll(Int32, SocketSelectMode)
Determines the status of the socket.
Declaration
bool Poll(int microSeconds, SocketSelectMode mode)
Parameters
Type | Name | Description |
---|---|---|
Int32 | microSeconds | Time to wait for a response, in microseconds. |
SocketSelectMode | mode | Select mode. |
Returns
Type | Description |
---|---|
Boolean | True if data can be sent or read or if the connection was closed. |