Initializes an instance of the TlsServerSocket class with the specified base socket.
Namespace:
Rebex.Net
Assembly:
Rebex.Tls (in Rebex.Tls.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ socket As Socket _ ) |
C# |
---|
public TlsServerSocket( Socket socket ) |
Parameters
- socket
- Type: System.Net.Sockets..::..Socket
Base socket.
Remarks
Use this if you need to upgrade an existing socket to use TLS.