From: Rob McCool
Newsgroups: netscape.devs-nsapi
Subject: Re: Question about FastCgi.
Date: Thu, 19 Dec 1996 13:21:30 -0800
Jeff Fuller wrote:
>
> I've been unable to replace the STDIN, STDOUT, and STDERR that FastCGI
> uses with the corresponding NSAPI functions. Has anyone had any
> experience with this?
I/O with the client is done using the sn->csd socket. You can use the
function net_write() to send data to the client and use netbuf_getc() on
sn->inbuf to get data from the client. There is no equivalent to stderr
except the server's error log, which can be written to using
log_error().
Hope that helps
--
Rob McCool, robm@netscape.com http://home.netscape.com/people/robm/
Stunt Programmer, Netscape Communications Corporation
It was working ten minutes ago, I swear...
Reproduced by permission of the author.