Creates a new SecureSocket to handle an incoming connection request.
[Visual Basic]
Overrides Public Function Accept() As VirtualSocket
A SecureSocket to handle an incoming connection request.
The returned VirtualSocket can be cast to a SecureSocket if necessary.
Exception Type | Condition |
---|---|
SocketException | An operating system error occurs while accessing the SecureSocket. |
ObjectDisposedException | The SecureSocket has been closed. |
SecurityException | Unable to create the credentials. |
SecureSocket Class | SecureSocket Members | Org.Mentalis.Security.Ssl Namespace