This project is read-only.

Send data only to one client

Feb 6, 2011 at 10:47 AM

If I have several clients connected to the server, is there any way to serve data to only one of them? I know I can send data to one client in the Incoming event, but can the server also send data to one client arbitrarily, at any given time?

Thanks.

Apr 5, 2011 at 7:16 PM
Edited Apr 5, 2011 at 7:17 PM

You can create a client list (when a Client conects, you can add the client to the list).

Remember, every client is a connection, client.send(...) sends a message to this client.