Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Oct : Problem with blocking of windowsmessageqeue while using tcpserver by Indy
| Subject: | Problem with blocking of windowsmessageqeue while using tcpserver by Indy |
| Posted by: | "Rafal Z" (rafzi..@wp.pl) |
| Date: | Thu, 27 Oct 2005 10:21:21 |
Hallo,
I've made a very simple server using the idTCPServer component (Indy
10). It's functionning correct, until the main window sends an message
to another window. After sending the message my application hangs, I
have to stop it by pressing Ctrl-F2 in Delphi IDE. I'm using WindowsXP
sp2 with Delphi 6. I placed the antifreeze component, but it doesn't
help. It works only after all TCP connections are closed. After that I
can execute the procedure that sends the message without blocking the
application. It seem's that it isn't possible to use own messages while
a TCP connection is active. Is this behaviour normal, or is there
something that I don't know (I have only little experience in create
client-server application)?
Thank's
Rafal Z