Re: [twsocket] small but pertinent doubt

2008-04-05 Thread João Gonçalves
Hello, Jus tone more thing: can youn point me to that example? I can't seem to find it:-( Thank you, João -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilfried Mestdagh Sent: sábado, 5 de Abril de 2008 0:38 To: ICS support mailing Subject: Re:

Re: [twsocket] small but pertinent doubt

2008-04-05 Thread Wilfried Mestdagh
Hello João, Here http://www.overbyte.be/eng/products/ics.html#ics_apps is a complete discreption of all example files. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Saturday, April 5, 2008, 09:15, João Gonçalves wrote: Hello, Jus tone

Re: [twsocket] small but pertinent doubt

2008-04-05 Thread João Gonçalves
Hello, once more thank you for your answer. I was referring to that list, I can't find the specific example that you speak. Are you referring to TcpSrv? Thanks João -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilfried Mestdagh Sent: sábado, 5 de Abril

Re: [twsocket] small but pertinent doubt

2008-04-05 Thread Dod
Hello João, One more thing, I recommend you to create the TWSocketServer into a separated thread just to avoid your appplication interface to be overloaded/non responsive in case of hudge activity. You can also dettach some client sockets and attach them into some separated thread

Re: [twsocket] small but pertinent doubt

2008-04-05 Thread João Gonçalves
OK, let me se if I understood The best option is to take the TCpSrv example from ICs, put it on a new Thread, and create a new Thread for each client, like the example on the MtSrv? Is this line of thinking correct? Thanks once more João -Original Message- From: [EMAIL PROTECTED]

Re: [twsocket] small but pertinent doubt

2008-04-05 Thread Dod
Hello João, No, Put only the main TWSockerServer into a separated thread, that's all, this is if your applicationis not a service and has a graphical interface (one or more windows), so even if you have hudge network activity, your buttons/menus in your forms will stay responsive. Making

Re: [twsocket] small but pertinent doubt

2008-04-05 Thread Wilfried Mestdagh
Hello João, If it is not in the list then I have to open all example files to see witch one. I know there is an example of running each client in separated thread. But are you sure you need a thread per client ??? --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html

Re: [twsocket] small but pertinent doubt

2008-04-05 Thread João Gonçalves
Let me explain why do I (think I) need a thread per client. I have a C++ builder app, with a main form, that has a table with the information of the status of several clients. When some client connects, it instantiates a new Form which is associated to each client. I can view (and drag) this form