Re: Connect hanging without any exception

Giganews Newsgroups
Subject: Re: Connect hanging without any exception
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Wed, 9 Feb 2005

"Christian Tiberg" <christi…@commsoft.nu> wrote in message
news:93D0486704BFE240christi…@commsoft.nu...

> I saw a message about this some time ago, but didn't see any
> solution. Are we really supposed to use a timer to cancel the
> connect attempt

Indy already does that internally.  Except that it uses a thread instead of
a timer, since blocking connects can only be cancelled by a different thread
than the one that is connecting.

> or are there some reliable way to prevent this from happening?

You did not provide any details about what is actually happening for you.

Gambit

Replies

In response to

Connect hanging without any exception posted by Christian Tiberg on Wed, 9 Feb 2005