Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jul : Indy Examples sending messages between server and client
| Subject: | Indy Examples sending messages between server and client |
| Posted by: | "D-Fan" (d-fan@antispam.com) |
| Date: | Tue, 8 Jul 2008 01:26:30 |
Are there any Indy examples using simple messages between a a server pc
and many client pcs. The server will be using an Indy tcp server
component and the clients will use either a tcp server or a non server
component. These components will either send simple text or record
structures. Initially I can focus on simple text.
The server needs to be able to send a message to the client at any time.
The message will just be a flag that will signal the client that a
message needs to be picked up from the server. Once this signal has
been received, the client will send a request to the server for any
waiting messages. This makes me think that the client PC needs to have
an Indy server component or perhaps a client component with a timer to
look for the flag that there is a message.
If there are any examples that make use of Indy in this type of process
I would certainly appreciate a link or any insight as to the best
approach to take in this endeavor.