Re: questoin on listen.c

EALTER@mail.wshs.fcps.k12.va.us wrote:
> 
> i am going to write cgi in C++ and i want it to issue commands and
> send info to the server i am writing since it is local would i still
> do what listen does?

It would be better to use a model like you find in the event loop sample

	http://www.w3.org/Library/Examples/eventloop.c

linked from

	http://www.w3.org/Library/Examples/

It reads from stdin (which is the normal input channel for CGI scripts)
and then does something as a function of that input.

Henrik

Received on Thursday, 17 December 1998 15:42:10 UTC