Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Small test-dgram-multicast-multi-process fixes
Browse files Browse the repository at this point in the history
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
piscisaureus committed Jan 31, 2012
1 parent 3fd13c6 commit 0ad2a9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/simple/test-dgram-multicast-multi-process.js
Expand Up @@ -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'),
Expand Down Expand Up @@ -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);
});
};
Expand Down

0 comments on commit 0ad2a9a

Please sign in to comment.