D-Fan
2008-07-08 06:26:30 UTC
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.
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.