Hi,
OS: Windows.
Language: C++
Say you have a program that connects to an FTP server. Then in the process of transferring a file, you simply hit "Ctrl+c", then the connection drops, as a result WSACleanup i'm guessing is not called, etc.
Basically i want to simulate the event of Ctrl+c in the middle of a connection.
Thanks,