View Single Post
  #5 (permalink)  
Old 10-15-2008, 09:24 PM
hunterbdb hunterbdb is offline
Member
 
Join Date: Oct 2008
Posts: 33
hunterbdb is on a distinguished road
the script above, which is my server, only returns the message to the sender.

a thousand clients can be using this server, but my server will only return the message to the client that sends a message to the server.

as you can see, it uses the getAddress() method to get the address of the sender.



So more accurately, my question is: how can I make the server get a message from one single client, and send it to all clients that have connected?
Reply With Quote