TIME_WAIT

If I use the command line ftp, and close the connection, netstat does not show the connection anymore.

If I call close in my code, netstat shows the connection in TIME_WAIT state. Is there a way to close the connection and not leave the socket in TIME_WAIT state?

Thanks,
Graham

Call the Disconnect() method before you Close() it.

Could you please add your license key id to the profile in the forum?

My Controls
Then Edit Forum Profile

Thank you
Regards,
Mat

OK, done that. I thought that was only necessary for Premium support?

Hello ..

The maintenance of your license expired in 2006. To renew it (to receive technical support) please use the following URL:
https://www.smartftp.com/purchase/renew.php

Regards,
Mat