Michael Schnell | 16 Jan 2010 03:01
Picon
Favicon

Re: MSEide+MSEgui rev. 2.2 for FPC 2.4

IvankoB wrote:
> He-he, AFAIK, AJAX intensively uses client2server polling to know if now 
> is the time for an event to "occur" :) 

In fact this is an Ajax enhancement often called "Comet" ( 
http://en.wikipedia.org/wiki/Comet_%28programming%29 )

> Such approach may simulate any 
> kind of event although with noticeable delays ( and fully unworkable on 
> slow channels ).
> 

The trick is that the server "hangs" the polling request (for a time 
shorter than the TCP/IP timeout) and so can immediately send the packet 
when an Event occurs.

-Michael


Gmane