Catalyst File Transfer .NET

FileTransfer.Disconnect Method 

Terminate the connection with the remote server.

[Visual Basic]
Public Sub Disconnect()
[C#]
public void Disconnect();

Remarks

The Disconnect method terminates the connection with the remote host and closes the handle allocated by the class. Note that the handle is not immediately released when the connection is terminated and will enter a wait state for two minutes. After the time wait period has elapsed, the handle will be released by the operating system. This is a normal safety mechanism to handle any packets that may arrive after the connection has been closed.

See Also

FileTransfer Class | SocketTools Namespace