On Tue, Feb 7, 2012 at 05:07, 王 逍 <[email protected]> wrote: > When listen on a used port in worker(child processes) of cluster, > EADDRINUSE will not be emitted, and server listen on a random port. > But in master, it emmits EADDRINUSE error, which is expected. Is it a > bug in child process?
I'm not quite sure what you mean. The cluster module shares a bound socket between the master and its workers. If you get EADDRINUSE in the master, then there is no socket to share with the workers. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
