Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Oct : Re: Problem with blocking of windowsmessageqeue while using tcpserver by Indy
| Subject: | Re: Problem with blocking of windowsmessageqeue while using tcpserver by Indy |
| Posted by: | "Martin James" (mjames_falc..@dial.pipex.com) |
| Date: | Thu, 27 Oct 2005 18:57:38 |
>
> > It seem's that it isn't possible to use own messages while a TCP
> > connection is active.
>
> Yes, it is.
>
As a 'third-party', not connected with Indy, I can assure you that adding an
Indy server to an app does not affect Windows messaging in any way, unless
you do something in the server to block the app main thread.
If you sendMessage to another app, the other app, (or apps, in the case of a
broadcast), must process the message/s promptly, else your app will get
stuck.
I have no idea why the presence, or absence of an Indy server could affect
any such blocking mechanism.
What message are you sending, what is in the message parameters and to what
are you sending it?
Rgds,
Martin