Places a VirtualSocket in a listening state.
[Visual Basic]
Overridable Public Sub Listen( _
ByVal backlog As Integer _
)
In a listening state, the VirtualSocket will poll for incoming connection attempts. If you want to listen using a specific network interface on a specific port, you must call the Bind method first.
Exception Type | Condition |
---|---|
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