Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Small test-dgram-multicast-multi-process fixes

Somehow windows doesn't want to bind to 224.0.0.1. Let's test with a multicast
address that has no special meaning.
  • Loading branch information...
commit 0ad2a9a2e0c82f71efaa56cf4eb31c8912703065 1 parent 3fd13c6
@piscisaureus piscisaureus authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/simple/test-dgram-multicast-multi-process.js
View
6 test/simple/test-dgram-multicast-multi-process.js
@@ -26,7 +26,7 @@ var common = require('../common'),
assert = require('assert'),
Buffer = require('buffer').Buffer,
fork = require('child_process').fork,
- LOCAL_BROADCAST_HOST = '224.0.0.1',
+ LOCAL_BROADCAST_HOST = '224.0.0.114',
TIMEOUT = 5000,
messages = [
new Buffer('First message to send'),
@@ -153,8 +153,8 @@ if (process.argv[2] !== 'child') {
sendSocket.send(buf, 0, buf.length,
common.PORT, LOCAL_BROADCAST_HOST, function(err) {
if (err) throw err;
- console.error('sent %s to %s', util.inspect(buf.toString()),
- LOCAL_BROADCAST_HOST + common.PORT);
+ console.error('sent %s to %s:%s', util.inspect(buf.toString()),
+ LOCAL_BROADCAST_HOST, common.PORT);
process.nextTick(sendSocket.sendNext);
});
};
Please sign in to comment.
Something went wrong with that request. Please try again.