You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dgram how to listen to multicast from several processes #554
I don't know what version node-webkit ships but you may be seeing the result of libuv/libuv@3558d65, released in joyent/node@v0.11.13. If you create the socket with s = dgram.createSocket({ type: 'udp4', reuseAddr: true }), it should work like it used to.
Thanks. That's it. It should be noted in dgram docs.
Sorry it is actually noted. I have missed it somehow. Closing.
It is Node-Webkit confused me. It is said it uses Node v0.11.13 in last stable versions, but actually it is Node v0.11.13-pre - options object syntax is not supported there, but it looks like reuseAddr flag is set to false internally.
Activity
bnoordhuis commentedon Jan 22, 2015
@xdenser When you say 'node', do you mean v0.10.x or v0.11.15?
xdenser commentedon Jan 22, 2015
0.10.35,
but in Node-Webkit 0.10.x using Node 0.11.x that works too.
So I think both.
Update: I was wrong, In Node 0.11.x it throws EINVAL.
bnoordhuis commentedon Jan 22, 2015
I don't know what version node-webkit ships but you may be seeing the result of libuv/libuv@3558d65, released in joyent/node@v0.11.13. If you create the socket with
s = dgram.createSocket({ type: 'udp4', reuseAddr: true }), it should work like it used to.xdenser commentedon Jan 22, 2015
Thanks. That's it. It should be noted in dgram docs.
Sorry it is actually noted. I have missed it somehow. Closing.
It is Node-Webkit confused me. It is said it uses Node v0.11.13 in last stable versions, but actually it is Node v0.11.13-pre - options object syntax is not supported there, but it looks like reuseAddr flag is set to false internally.