Skip to content

Realtime application framework for Node.JS, with HTML5 WebSockets and cross-browser fallbacks support.

License

Notifications You must be signed in to change notification settings

roytan883/socket.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

socket.io

How to use

var http = require('http').Server();
var sockets = require('socket.io')(http);
sockets.on('connection', function(socket){
  socket.on('event', function(data){});
  socket.on('disconnect', function(){});
});

License

MIT

About

Realtime application framework for Node.JS, with HTML5 WebSockets and cross-browser fallbacks support.

Resources

License

Stars

Watchers

Forks

Packages

No packages published