[lug] Web based streaming updates - how to get started?

John E. Koontz koontz at boulder.nist.gov
Wed Jan 22 14:46:23 MST 2003


At 02:22 PM 1/22/2003 -0600, you wrote:
>I have a project at work where I need to launch an application via a CGI
>script/program and have that application send multiple "status" updates
>back to the script/program.  I've done a modest amount of web
>programming but nothing that makes the CGI program display data, get
>more data, then display the new data over the place where the last data
>was displayed.  I think this is something akin to Push technology.
>Maybe not.

You can perhaps use the <meta http-equiv="Refresh" content="3; 
url=http://..."> pull technique.


>Is there a C library that will take incoming HTTP requests, allow me to
>parse them (similar to CGI.pm) and then send the results back (probably
>just formatted HTML using printf's if this C program is running as a CGI
>script, I would think).  And how can I get the output to refresh the
>browser with each 'status" update I get from the launched application?
>--
>Michael J. Hammel <mjhammel at graphics-muse.org>
>Graphics Muse
>
>_______________________________________________
>Web Page:  http://lug.boulder.co.us
>Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>Join us on IRC: lug.boulder.co.us port=6667 channel=#colug

John E. Koontz
NIST 896.04 PCSG
303-497-5180

N39° 59' 42.1" W 105° 15' 49.7"




More information about the LUG mailing list