[twsocket] HttpCli Keep-alive

2009-03-05 Thread Paul
I have one client that is connected with a keep-alive connection that continuosly sends commands. The other 2 clients send or receive commands when there are command available, but far less frequent than the first one. Is it neccesary to set the connection keep-alive for the other 2 clients ? I'

Re: [twsocket] HttpCli Keep-alive

2009-03-05 Thread Francois PIETTE
> I have one client that is connected with a keep-alive connection that > continuosly sends commands. > The other 2 clients send or receive commands when there are command > available, but far less frequent than the first one. > Is it neccesary to set the connection keep-alive for the other 2 clien

Re: [twsocket] HttpCli Keep-alive

2009-03-05 Thread Paul
Hi Francois, I think you misunderstood the question. 3 clients are connected to the same server. 1 client has a keep-alive connection and the the most part of the job. Sometimes, 2 other clients have to send or receive additional data. To keep the server load as low as possible, I'm now testing wi

Re: [twsocket] HttpCli Keep-alive

2009-03-05 Thread Francois PIETTE
It always take sometimes to negociate a connection opening between two computers. They must exchange a few packets before the connection is established. The time taken depends, imo, mostly of the round-trip time. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware Mid