New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

multicast-eventemitter

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multicast-eventemitter - npm Package Compare versions

Comparing version

to
0.0.4

2

lib/hasher.js

@@ -0,1 +1,3 @@

// Copyright 2011 Thorcom Systems Ltd. All Rights Reserved.
var crypto = require('crypto');

@@ -2,0 +4,0 @@

@@ -69,4 +69,5 @@ // Copyright 2011 Thorcom Systems Ltd. All Rights Reserved.

socket.send(message, 0, message.length, hash.port, hash.address);
socket.close(); // TODO: cache open sockets for reuse?
}

2

package.json
{ "name" : "multicast-eventemitter"
, "description" : "LAN wide eventemitter, using multicast."
, "version" : "0.0.2"
, "version" : "0.0.4"
, "maintainers" :

@@ -5,0 +5,0 @@ [ { "name": "Chris Dew"

@@ -6,2 +6,4 @@ multicast-eventemitter

Please see https://github.com/marak/hook.io for a mature alternative.
This package provides a cluster-wide event emitter. Message sent from any process on any machine on a LAN can be subscibed to by any other process on any other machine.

@@ -12,5 +14,7 @@

This currently uses plain multicast. This has the following drawbacks:
1. Messages are limited to about 1.5KB in length - exceeding this will produce a parsing error on receivers.
2. It is unreliable (we receive 100% of sent messages on our LAN - YMMV)
There are known bugs - see the FIXMEs and TODOs in the code.
2. It is unreliable (though we receive 100% of sent messages on our LAN - YMMV)
There are known and unknown bugs - see the FIXMEs and TODOs in the code.