Huge News!Announcing our $40M Series B led by Abstract Ventures.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

LAN wide eventemitter, using multicast.

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

multicast-eventemitter

Under heavy development - DO NOT USE IN PRODUCTION

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.

It works efficiently by hashing event names into 24 bits of address space and 15 bits of port number - thus a 1 in half-a-trillion chance of event name collision.

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.

FAQs

Package last updated on 11 Jul 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc