Initializes an instance of the TlsSocket class with the specified base socket.
Namespace:
Rebex.Net
Assembly:
Rebex.Networking (in Rebex.Networking.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ socket As Socket _ ) |
C# |
---|
public TlsSocket( 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/SSL.
Remarks
Use this if you need to upgrade an existing socket to use TLS/SSL.