> so change your procedure to something like this :
> procedure TSimpleSslServerForm.SendCommand(ClientNo: integer);
> begin
> SslWSocketServer1.Client[ClientNo].SendStr(ledSendCommand.Text);
> Display('Command sent: ' + ledSendCommand.Text);
> end;
>>>
> How do you set this --> (ClientNo)?
> How do you get the number in here?
>
> Can you please explain a bit?Well, without knowing more on your setup, one way I can see to differentiate your clients is with their IP. The client IP is available in Client[x].PeerAddr. hth -- 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
