httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: Client socket
Date Wed, 29 May 2002 10:48:56 GMT
"Vinod Panicker" <vinod@mundu.com> writes:

> Hi,
> 
> Where is the client socket fd stored in the request_rec structure?
> 
> Is it either of the r->connection->client->fd or the
> r->connection->client->fd_in variables?
> 
> I tried accessing the values, but both the variables show the value '3'
> for every request passed to the php module.

Why is 3 incorrect?  Did you do lsof on your httpd process while
stopped in the debugger to verify that 3 is (or is not) the connection
to the client?

Why do you need access to the socket?

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message