Created
August 12, 2011 23:29
-
-
Save wesbos/1143220 to your computer and use it in GitHub Desktop.
Basic Socket.io Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
io = require('socket.io').listen(4000) | |
io.sockets.on 'connection', (socket) -> | |
console.log('Connected!') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment