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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.