Determines the status of the VirtualSocket.
[Visual Basic]
Overridable Public Function Poll( _
ByVal microSeconds As Integer, _
ByVal mode As SelectMode _
) As Boolean
See the Socket documentation for the return values.
Set microSeconds parameter to a negative integer if you would like to wait indefinitely for a response.
| Exception Type | Condition |
|---|---|
| NotSupportedException | The mode parameter is not one of the SelectMode values. |
| SocketException | An operating system error occurs while accessing the VirtualSocket. |
| ObjectDisposedException | The VirtualSocket has been closed. |
VirtualSocket Class | VirtualSocket Members | Org.Mentalis.Security.Ssl Namespace