Mentalis.org Security Library documentation

VirtualSocket.InternalAccept Method 

Creates a new Socket to handle an incoming connection request.

[Visual Basic]
Overridable Protected Function InternalAccept() As Socket
[C#]
protected virtual Socket InternalAccept();

Return Value

A Socket to handle an incoming connection request.

Remarks

The InternalAccept method extracts the first connection request from the queue of pending requests and creates a new Socket to handle it.

Exceptions

Exception TypeCondition
SocketExceptionThe VirtualSocket is invalid.
ObjectDisposedExceptionThe VirtualSocket has been closed.

See Also

VirtualSocket Class | VirtualSocket Members | Org.Mentalis.Security.Ssl Namespace