FastCGI with NSPR
"franck.fr" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Hello,
I would like to create a FastCGI program using NSPR.
The FastCGI Specification (http://www.fastcgi.com/devkit/doc/fcgi-
spec.htm) says:
Accepting Transport Connections:
A FastCGI application calls accept() on the socket referred to by
file descriptor FCGI_LISTENSOCK_FILENO to accept a new transport
connection.
( #define FCGI_LISTENSOCK_FILENO 0 )
It seems that it is not possible for PR_Accept to accept something
else that a PRFileDesc .
And I did not see any functions to convert a native file descriptor
into a RP file descriptor.
do i miss something obvious ? or can I use a workaround ?
Thanks.
Franck.