1.1.3 • Published 9 years ago

simosocket v1.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
9 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

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.32

9 years ago

1.0.31

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago