Suggestions on writing a TCP IP messaging system (Client/Server) using Delphi 2010

Posted by Shane on Stack Overflow See other posts from Stack Overflow or by Shane
Published on 2010-12-23T18:38:04Z Indexed on 2011/02/07 7:25 UTC
Read the original article Hit count: 193

Filed under:
|
|
|
|

I would like to write a messaging system using TCP IP in Delphi 2010. I would like to hear what my best options are for using the standard delphi 2010 components/indy components for doing this.

I would like to write a server which does the listening and forwarding of messages to all machines on the network running a client.

1.) a.) clients can send a message to server to be forwarded to all other clients b.) clients listen for messages from other senders (via server) and displays messages.

2.) a.) Server can send a message to all clients b.) Server forwards any messages from clients to all other clients

thanks for any suggestions

NOTE: I am not writing a instant messaging or chat program. This is merely a system where users can send alerts/messages to other users - they can not reply to each other! NO commercial, shareware, etc links - please! I would like to hear about how you would go about writing this type of system and what approachs you would take, and possibly the TCP IP messaging architecture you would use. Whether it be straight Winows API, Indy components, etc, etc.

© Stack Overflow or respective owner

Related posts about delphi

Related posts about sockets