On Friday 19 January 2007 08:01, Daniel Risacher wrote: > From within a mod_perl request handler, fileno(STDOUT) returns -1, which is > the same thing I got from $r->FILENO. > > Any other ideas? $r->connection->client_socket is an APR::Socket. It corresponds to an apr_socket_t in C. This structure contains on UNIX an element called socketdes. That is probably what you want. AFAIK there is currently no way to access that bit from Perl level. But it's not very complicated to add such an interface. Torsten
Attachment:
pgpDY4xNEwiBL.pgp
Description: PGP signature
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.