In old versions of Socket.IO (< 0.9), I configured \"close timeout\" and \"transports\" this way:
io.set(\"transports\", [\"xhr-polling\"]); io.set(\"clos
See the documentation here: http://socket.io/docs/migrating-from-0-9/#configuration-differences
Basically, you just have to set those when you initialize the server:
var socket = require('socket.io')({ // options go here });