borisyankov/DefinitelyTyped — pull request #1052 by lukasolson (2013-09-16 21:10:58+00:00)
Title: Add id to Socket interface

Although not clearly documented, the Socket object has a string 'id' attribute (see https://github.com/LearnBoost/socket.io/blob/master/lib/socket.js)