Re: [twsocket] small but pertinent doubt

2008-04-04 Thread Wilfried Mestdagh
Hello João, Use TWSocketServer component wich handles all clients by itself. There are some example files. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Thursday, April 3, 2008, 23:17, João Gonçalves wrote: > Hello, > I developed an applic

[twsocket] Improvements in OverbyteIcsHttpSrv.pas

2008-04-04 Thread Bjørnar Nielsen
I've made som improvements on keepalive. The file can be downloaded here: www.edialog24.no/download/OverbyteIcsHttpSrv.pas Please look through the changes and comment. I added new property FConnection (to define max requests pr connection, keepalivetime etc). I added triggering of Httpre

Re: [twsocket] small but pertinent doubt

2008-04-04 Thread João Gonçalves
Hello, thank you for the answer In the application that I developed, taking the base of TcpSrv, I use TWSocketServer, 2 questions: - Is this multithread? - Is it better than MtSRv? Thank you João -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilfried M

Re: [twsocket] small but pertinent doubt

2008-04-04 Thread Wilfried Mestdagh
Hello João, As far as I recall is mtSrv an older example with a listening TWSocket and creating data-TWSockets for the clients. So the example with TWSocketServer is the way to go. TWSocketServer is not multithread because it is not needed. It can handle thousands of connections in main thread. B