Hi Bert,
The socket fd comes from systemd, the init daemon on Fedora (and soon
openSuse and others). I have a working module for this on Node 0.4.x
[1], which I'd like to port to 0.6.x (we have a rather large
deployment running on this).
[2] describes how daemons should handle their sockets, basically
systemd does all the bind/listen for you, and you can just assume that
the socket is ready to run. When you look at the existing node-
systemd, you'll see that I barely have to do anything, just set up the
socket for eio and we're good.
I'm working out how to port this to 0.6.x in a somewhat recommended
way, but given that the stack completely changed, I figured it might
be a good idea to ask the node.js devs first.
Ruben
[1]
https://github.com/rubenv/node-systemd
[2]
http://0pointer.de/blog/projects/socket-activation.html