Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jan : Re: does Indy9 supports asynchronous mode?

www.cryer.info
Managed Newsgroup Archive

Re: does Indy9 supports asynchronous mode?

Subject:Re: does Indy9 supports asynchronous mode?
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Wed, 16 Jan 2008 13:43:39

"Iliya" <iliya00@list.ru> wrote in message
news:478e635a@newsgroups.borland.com...

> When i'm trying to call the connect method, the applications freezes
> until the end of the operation.

That is how Indy is designed to work.  It uses blocking sockets and blocking
operations.  To prevent the freeze, you can either drop a TIdAntiFreeze
component onto the form, or else move the Connect() to a separate worker
thread.  Otherwise, use a different component library, such as ICS or
Synapse, that supports asynchronous operations.


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive