diff options
author | Aayush Naik <aayushnaik17@gmail.com> | 2016-02-01 16:04:14 +0530 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-02-29 16:08:13 -0800 |
commit | 93bacfd00fd04d5c219fb392382250d96bb3a7be (patch) | |
tree | d4c42162ff83e569f77589c9dd86b9c30a0f17a0 /test/internet/test-dgram-multicast-multi-process.js | |
parent | 98b721ed26c91ef4f0abca3cb52f3f90744d2759 (diff) | |
download | android-node-v8-93bacfd00fd04d5c219fb392382250d96bb3a7be.tar.gz android-node-v8-93bacfd00fd04d5c219fb392382250d96bb3a7be.tar.bz2 android-node-v8-93bacfd00fd04d5c219fb392382250d96bb3a7be.zip |
test: remove unneeded 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 in this test.
The subsequent call to send() results in an implicit bind().
PR-URL: https://github.com/nodejs/node/pull/5023
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'test/internet/test-dgram-multicast-multi-process.js')
-rw-r--r-- | test/internet/test-dgram-multicast-multi-process.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/internet/test-dgram-multicast-multi-process.js b/test/internet/test-dgram-multicast-multi-process.js index 5fa897fc6c..69d7bbe317 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() { |