It goes wherever your Socket.IO code is defined. I like to put it right after io.attach().
↧
It goes wherever your Socket.IO code is defined. I like to put it right after io.attach().