Forces a TlsSocket connection to close.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Public Sub Close
C#
public void Close()

Implements

ISocket..::..Close()()()()

Remarks

The application should call Shutdown(SocketShutdown) before calling Close to ensure that all pending data is sent or received before the Socket is closed.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also