- From: Henrik Frystyk Nielsen <frystyk@w3.org>
- Date: Thu, 17 Dec 1998 15:42:07 -0500
- To: www-lib@w3.org
- To: EALTER@mail.wshs.fcps.k12.va.us
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