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.