Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: TIdTCPServer-Client Can I send to the client when I want to
| Subject: | Re: TIdTCPServer-Client Can I send to the client when I want to |
| Posted by: | "PeaShooter_OMO" (jacquesv..@homemail.co.za) |
| Date: | Thu, 11 May 2006 00:53:07 |
Thank you for your help
I will be looking into it
"tony" <tony@yahoo.com> wrote in message
news:445f6b73$1@newsgroups.borland.com...
> Hi,
> You need to have a read thread.
> Basicly in this thread you have a connection sitting in a while loop
> waiting for a read from the server. This works because you can still
> write while sitting in the loop waiting for a read from the client.
>
> the read thread just waits for commands from the server, for example
> you could respond when a command of "incoming_popup" is recieved, then
> you know that the client should then read a stream from the server that
> will have the "popup" message.
>
> Hope this helps, I am sure others will chime in soon.
>
> Tony Caduto
> AM Software Design
> http://www.amsoftwaredesign.com
> Home of PG Lightning Admin for Postgresql
>
>
> --
none