Ephemeral ports support #88

Open
myfreeweb opened this Issue May 2, 2011 · 4 comments

Projects

None yet

2 participants

@myfreeweb

Y U NO SUPPORT THEM?

When I call master.listen(0), the master.port is still 0 and I don't know which port it really is :(

@tj
Member
tj commented May 2, 2011

master.port is just whatever you pass in so that cluster can access it when binding internally but you could still use master.server.address()

@tj
Member
tj commented May 2, 2011

well or if you pass your server in just server.address()

@myfreeweb

it doesn't work if you pass a string with module name to cluster()
else, TypeError: Bad file descriptor argument

@tj tj closed this in cbcb0d8 Aug 16, 2011
@tj tj reopened this Aug 16, 2011
@tj
Member
tj commented Aug 16, 2011

scratch that, still messed up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment