Skip to content

rogermadjos/eventtcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eventtcp

Build Status npm version

How to install

npm install eventtcp --save

eventtcp allows you to send events over the TCP socket.

How to use

var EventTCP = require('eventtcp').EventTCP;

//client side
var emitter = new EventTCP({
	port: 8080,
	host: 'localhost'
});

//server side
var server = net.createServer(function(socket) {
	var emitter = new EventTCP(socket);
});

License

MIT

About

Event emitter that works over the tcp socket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors