I would like to write a messaging system using TCP IP in Delphi 2010. I would like to know what are my best options for using the standard delphi 2010 components / indy components for this.
I would like to write a server that listens and forwards messages to all the machines on the network where the client is running.
1.) a.) Clients can send a message to the server for forwarding to all other clients b) clients listen to messages from other senders (through the server) and display messages.
2.) a.) The server can send a message to all clients b.) The server forwards any messages from clients to all other clients.
thanks for any suggestions
NOTE. I am not writing an instant messenger or chat program. This is just a system in which users can send alerts / messages to other users - they cannot reply to each other! NO commercial, shareware, etc. Links - please! I would like to hear about how you are going to write this type of system and what approaches you will take, and possibly the TCP IP protocol exchange architecture that you will use. Whether it's the direct Winows API, Indy components, etc. Etc.
source share