On Sat, Dec 29, 2007 at 01:28:25PM -0800, Tracy R Reed wrote: > ..we just keep the connection open all the time. That's a kludge. It > wastes a lot of bandwidth and requires the other end to keep file > descriptors open. And are you implying that whitespace takes up less > bandwidth than some other form of data? :)
Yes but it is a very clever kludge that allows HTML/AJAX to do something it wasn't designed for. You are making the wrong comparisons. Servers CANNOT send data to clients unless the client initiates a request for data. A client keeping a SINGLE connection open by sending a char every few seconds is MUCH less bandwidth intensive then polling. Remember that polling requires setting up a connection and tearing it down over and over. Certainly you agree sending one char is better than THAT? Chris -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
