Hello,
 
I am confused. Clients is the property of TWSocketServer, not of ClientThread. 
ClientThread extends TThread, for controling every connection, every client 
socket. If the server has connected three clients, is there 3 TThrdSrvClient or 
3 ClientThread?
TThrdSrvClient is:
  TThrdSrvClient = class(TWSocketClient)  public    ClientThread : 
TClientThread;    RcvdLine     : String;    ConnectTime  : TDateTime;  end;
 
Is there some help page over how to use the TWSocketServer?
 
Regards.
Anne.
> From: [EMAIL PROTECTED]> Date: Wed, 17 Oct 2007 06:58:03 -0400> To: 
> twsocket@elists.org> Subject: Re: [twsocket] TWSocketThrdServer> > > In the 
> examples ThrdSrvV y ThrdSrvV2, TThrdSrvClient appears with > > 
> TWSocketServer. It seems that it is used for adding the ClientThread > > to 
> TWSocketServer.> > My mistake. However, those examples show how to use the > 
> single-threaded server in a multi-threaded way by handling the threads > 
> manually. ThrdSrvV3 shows how to use the TWSocketThrdServer component, > 
> which already does this built it.> > > I understand that OnDataAvailable is 
> used when the server receives > > data.> > With the property Client, i can 
> send data to the clients:> > For i:=0 to ClientCount-1> > 
> Client[i].SendStr(str);> > Next> > Ok?> > Property ClientThread.Clients is 
> the collection of clients on that > thread. The "Client" argument in 
> OnClientDataAvailable is the client > that received the data and triggered 
> the event.> > Or am I not understanding your question?> > dZ.> -- > DZ-Jay 
> [TeamICS]> http://www.overbyte.be/eng/overbyte/teamics.html> > -- > To 
> unsubscribe or change your settings for TWSocket mailing list> please goto 
> http://www.elists.org/mailman/listinfo/twsocket> Visit our website at 
> http://www.overbyte.be
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to