Re: Cancelling a connect or receive

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

Hello!

We've now discovered that one can use SomeIndyComponent.Socket.Close - and
that works for us...

Answering my own question, in the hope that it might be useful for someone
else :)

Best regards,
  Christian Tiberg, CommSoft

"Christian Tiberg" <ctibe…@home.se> skrev i meddelandet
news:241169D5EAB0E240ctibe…@home.se...
> 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

None

In response to

Cancelling a connect or receive posted by Christian Tiberg on Tue, 19 Oct 2004