I wrote a patch for apache in the 1.3 days to take a list of fd's
on the command line that were already bound to the required Listening
sockets. This was so that I could a have a simple setuid wrapper
for listening on port 80 which would then fork and exec apache after
removing root privileges.
Th
Very cool indeed! A quick 'man 2 bind' yeilded this:EINVAL The socket is already bound to an address. This may change in the future: see linux/unix/sock.c for details.I'd be curious to find out what nginx does to circumvent this, atleast on linux.- Gokul- Original Message