On Thu, Jun 16, 2011 at 10:32, Henrik Strand <[email protected]> wrote: > I've tried writing data to the socket directly after my non-httpd daemon > process receives the socket descriptor and this results in that the > client receives this data. However, very shortly afterwards the > connections is closed and I'm not able to write to the socket anymore.
You probably want to dup() the socket fd before passing it to the external process.
