Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jul : Indy App with Client AND Server Freezing
| Subject: | Indy App with Client AND Server Freezing |
| Posted by: | "dhd" (didkin20..@yahoo.es) |
| Date: | 1 Jul 2006 02:18:58 |
I have an application with an IdTCPServer which accepts Clients
connections.
It also has a IdTCPClient which connects to another server.
There is an Anti-freeze on the main form.
If only the Server and the client connection are working, everithing is
fine, but when the App connects to the other server, it freezes.
I changed the Indy client with a non-blocking TClientSocket (I know
it's obsolete) and now it works better, but still there is random
freezing!
So is there a way to trace the freezeng?
I'm not even really shure what exactly is causing the freezing. Does
the Anti-freez affect the TClientSocket too?
I have several working threads + the client threads. The
synchronization with the main thread is by custom windows messages.
Thanks in advance
--