httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: request_rec struct ..
Date Mon, 26 Aug 2002 11:30:33 GMT
"Sylbert L" <sylbert@geodesiconline.com> writes:

> In Apache 2.0, how do I get a reference to the client socket using the 'request_rec'
struct ?

I think the easiest way would be to implement a pre_connection hook
and grab the socket* from there and attach to module-specific data in
conn_rec that you can get to via the request_rec later.

*assuming that a socket is being used for the transport, which for now
is a fairly safe assumption

By the way, what do you need the socket for?

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

Mime
View raw message