What is so difficult? Property Client is an array of currently
connected client objects, property ClientCount returns the number
of objects in that array. You work with it like with a standard
Delphi TList as well. For example, in order to iterate over all
client objects:


The difficulty is that I am quite lost with this and can't find a way of sending command to the client of my choice.

var
 Cli: TWSocketClient;
begin
 for i := 0 to WSocketServer1.ClientCount -1 do
 begin
   Cli := WSocketServer1.Client[i];
   if Cli meets some condition here then
     Call some Cli.method;
 end;
end;

Where do I call this exactly?

During the send? or receive?
Or a spearate procedure? how?

The problem here is,
You guys are treating me like an expert and I just don't understand half of the things what you are saying.


--
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