Forces the ISocket connection to close.

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

Syntax

Visual Basic
Sub Close
C#
void 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