Assuming N is the index of the selected client, you send something using this line of code:
   WSocketServer.Client[N].Send(MyBufAddr, MyBufLnegth);

When sending something back to a client having sent a command, you use the sender argument of the dataavailable event. This sender represent the client:
  TWSocket(Sender).Send(MyBufAddr, MyBufLnegth);

I still can't find anything regarding this in existed demos/samples.

Thanks

-daniel

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to