[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

file descriptor for client socket?


Is it possible to get the file descriptor for the client socket from the RequestRec?

I.e. something like $r->FILENO (which doesn't seem to work) or perhaps $r->connection->client_socket->os_sock

(os_sock exists in the APR structure in C, but there doesn't seem to be a perl accessor method.)

Reason I want to do this... I'm trying write a perl module to pass the connection to another process using File::FDpasser.





Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.