Re: [twsocket] TWSocketThrdServer

2007-10-19 Thread [EMAIL PROTECTED]
Anne, Check out the TcpSrv demo: it shows how to use TWSocketServer in a single thread with multiple clients. You can validate the data in the OnDataAvailable event, which will be triggered whenever there is data in the buffer -- or if you use LineMode, whenever the end-of-line sequence is rece

Re: [twsocket] TWSocketThrdServer

2007-10-19 Thread [EMAIL PROTECTED]
QUOTE: Angus None of these applications use threads, they are simply unnecessary for most ICS applications, and cause major development complications in something that should be essentially simple and reliable. END. I completely agree with Angus, and I learned it the "hard way", but enco

Re: [twsocket] TWSocketThrdServer

2007-10-19 Thread Angus Robertson - Magenta Systems Ltd
> I believe that I need a thread for every client that encapsulates > the reception of initial information and the control over the last > data sended. I have three major applications using TWSocketServer (and numerous other ICS components) each talking to multiple clients at the same time, two

Re: [twsocket] TWSocketThrdServer

2007-10-19 Thread Ana Onarres
Hello, Dz. My application uses socket server for accepting connections to the clients and send them data. There is data that are sended to some clientes, but to others no. Every client, in the first step, sends data to the server for identificating the data that it will receive. I believ