1.1.3 • Published 10 years ago

simosocket v1.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

A simple event based socket server. Start the server by calling the init function.

var simosocket = require('simosocket')(<PORT>, callback);

Connect to another simosocket server:

simosocket.connect(<PORT>, <IP>);

Add an event callback:

simosocket.addEventListener('eventKey', callback);

Remove the callback:

simosocket.removeEventListener('eventKey', callback);

Emit event:

simosocket.emit('eventKey', data);

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.32

10 years ago

1.0.31

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago