I haven't updated node in a while so it could easily be an incompatibility from a newer version. node -v v0.8.11 this is what I get. tmp $ node ./node_test.js Server has started. connected true SOCKET: SOCKET: SOCKET: FOO SOCKET: SOCKET: SOCKET: HI there