So I’ve been building a small server ontop of this template server for practice. http://www.kieser.net/linux/java_server.html
Ive got working client but I’m having difficulty working out how I can send a message from a client to the server and from that thread to all the other clients instead of only one client.
Can anyone shed some light on how I might go about this?
Have a read of this.. This should explain everything much better than i can :p
http://www.dreamincode.net/forums/topic/259777-a-simple-chat-program-with-clientserver-gui-optional/