行動版 - 2013年4月24日 - Try this, this works for me. Var client = require('socket.io').listen(8080).sockets; ...
stackoverflow.com