joyent/node — pull request #6603 by orangemocha (2013-11-29 16:27:07+00:00)
Title: test: fix simple/test-cluster-bind-twice on Windows

This fix is 100% windows specific.

Before sending a socket from a cluster master to a worker,
we would call listen in UV but not handle the error.

I made the call to listen more explicit in cluster.js so we handle
the error early.

I also changed uv_tcp_duplicate_socket to reveal any bind-time errors
before calling listen().