Cancelling a connect or receive

Giganews Newsgroups
Subject: Cancelling a connect or receive
Posted by:  Christian Tiberg (ctibe…@home.se)
Date: Tue, 19 Oct 2004

Hello!

I read somewhere that DisconnectSocket could be used to do this, but that
method seems to be outdated - I can't find it in Indy 10.

Can anyone tell me how to cancel immediately? Having a 'Stop' button in the
program isn't very good if it takes forever and a day to stop :(

Best regards,
  Christian Tiberg, CommSoft

Replies