net,dgram: workers can listen on exclusive ports
authorcjihrig <cjihrig@gmail.com>
Fri, 22 Aug 2014 20:51:53 +0000 (16:51 -0400)
committerTrevor Norris <trev.norris@gmail.com>
Wed, 3 Sep 2014 22:16:16 +0000 (15:16 -0700)
commit029cfc12a0736b0b03d0101d24b8a1a3023137a5
tree39e91320941ed8f253cedfb42cc7a23385f4a3b8
parent9b8837b3554cb38fe9412922f064529329f5fff7
net,dgram: workers can listen on exclusive ports

Allow cluster workers to listen on exclusive ports for TCP and UDP,
instead of forcing all calls to go through the cluster master.

Fixes: #3856
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
Reviewed-by: Fedor Indutny <fedor@indutny.com>
doc/api/dgram.markdown
doc/api/net.markdown
lib/dgram.js
lib/net.js
test/simple/test-dgram-bind-shared-ports.js [new file with mode: 0644]
test/simple/test-net-listen-shared-ports.js [new file with mode: 0644]