httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject RE: Client socket
Date Thu, 30 May 2002 09:24:22 GMT
> From: Tony Finch [mailto:fanf@chiark.greenend.org.uk]On Behalf Of 'Tony
> Finch'
> Sent: 30 May 2002 11:01

> On Thu, May 30, 2002 at 11:03:05AM +0530, Vinod Panicker wrote:
> > 
> > I need the actual socket that apache uses to communicate with the client
> > in the php module.  Is it available somewhere in the request_rec
> > structure?
> 
> You've already found it in r->connection->client->fd.

Question: why do you need the socket?  Staying away from the socket
is in general a better idea.  You get all the data through the input
filters, bypassing those means you lose out on a lot of functionality.


Sander

Mime
View raw message