Skip to content

pherrymason/socket.io-memcached

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

socket.io-memcached Build Status NPM version

Note

This adapter is still under development. Feel free to fork and participate in the development.

How to use

var io = require('socket.io')(3000);
var memcached = require('socket.io-memcached');
io.adapter(memcached('192.168.0.102:11212'));

By running socket.io with the socket.io-memcached adapter you can run multiple socket.io instances in different processes or servers that can all broadcast and emit events to and from each other.

If you need to emit events to socket.io instances from a non-socket.io process, you should use socket.io-emitter.

API

adapter(opts)

Coming soon...

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%