This message was edited by Ynot at 2003-9-7 7:22:25
I'm in the process of trying
to program a chat room. But having absolutely no idea about how to go about it properly
I've gotten a server to accept connections, and to accept messages from any number of connected clients, but I don't have a clue of how to forward the messages to every running client. I tried putting the client info into an array, but the array never seems to be updated.
Could anyone point me to a good resource that would clearly outline the theory behind writing a chatroom? Or maybe, if possible you could post that up here?
Thanks for your help,