Apache: get client socket descriptor from request_rec?

Posted by Mark Harrison on Stack Overflow See other posts from Stack Overflow or by Mark Harrison
Published on 2010-04-18T03:47:14Z Indexed on 2010/04/18 3:53 UTC
Read the original article Hit count: 474

Filed under:
|

I would like to call sendfile() to send some data to the client with as little overhead as possible.

Given an Apache struct request_rec, how can I get the fd associated with the client socket?

© Stack Overflow or respective owner

Related posts about apache

Related posts about api