Ends an asynchronous request to create a new VirtualSocket to accept an incoming connection request.
[Visual Basic]
Overridable Public Function EndAccept( _
ByVal asyncResult As IAsyncResult _
) As VirtualSocket
A VirtualSocket to handle the incoming connection.
The EndAccept method completes a request for a connection that was started with the BeginAccept method.
Exception Type | Condition |
---|---|
ArgumentNullException | asyncResult is a null reference (Nothing in Visual Basic). |
ArgumentException | asyncResult was not created by a call to BeginAccept. |
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