Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Feb : Re: OnWork does not fire in Indy10 Delphi 2007
| Subject: | Re: OnWork does not fire in Indy10 Delphi 2007 |
| Posted by: | "Moore" (moo..@hotmail.com) |
| Date: | 12 Feb 2008 06:41:33 |
Again, what event to use if not OnWork to know when a TCP server sends a text to the client?
I am accesing a TCP server i a machine that when a card is removed it sends a text command to all clients that are connected, and I want to know when that command is sent to perform such operations in the client application, in this case the server text is not triggered by a client petition, the client connects and receives data, some times the server may in a certain time sends data..
>Reading strings and integers does not use OnWork. OnWork is intended for use
>as a progress indicator - EG with a TProgressBar. When reading a string
>there is no need to use it as the string comes in one piece - Thus there is
>no progress to report!