From 7063d19d866dfe14fa57b5eb3dfcdc0a4520dea9 Mon Sep 17 00:00:00 2001 From: Aayush Naik Date: Mon, 1 Feb 2016 16:04:14 +0530 Subject: [PATCH] test: remove an unnecessary call to bind and related comments As mentioned in the comment of the changed file, "a libuv limitation makes it necessary to bind()". But, that is not the case anymore. So, it(meaning 'bind()') can be removed. --- test/internet/test-dgram-multicast-multi-process.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/internet/test-dgram-multicast-multi-process.js b/test/internet/test-dgram-multicast-multi-process.js index 5fa897fc6c35f3..69d7bbe3173787 100644 --- a/test/internet/test-dgram-multicast-multi-process.js +++ b/test/internet/test-dgram-multicast-multi-process.js @@ -132,10 +132,6 @@ if (process.argv[2] !== 'child') { } var sendSocket = dgram.createSocket('udp4'); - // FIXME: a libuv limitation makes it necessary to bind() - // before calling any of the set*() functions. The bind() - // call is what creates the actual socket. - sendSocket.bind(); // The socket is actually created async now. sendSocket.on('listening', function() {