function startTimer(socket) {
        if (self._timeout) clearTimeout(self._timeout);
        self._timeout = setTimeout(function() {
            self.emit("timeout");
            clearTimer();
        }, msecs);
        destroyOnTimeout(socket);
    }
// Sets up a timer to trigger a timeout event
Sets up a timer to trigger a timeout event
Sets up a timer to trigger a timeout event
function startTimer(socket) {
        if (self._timeout) clearTimeout(self._timeout);
        self._timeout = setTimeout(function() {
            self.emit("timeout");
            clearTimer();
        }, msecs);
        destroyOnTimeout(socket);
    }
function startTimer ( socket ) { if ( self . _timeout ) clearTimeout ( self . _timeout ) ; self . _timeout = setTimeout ( function ( ) { self . emit ( "timeout" ) ; clearTimer ( ) ; } , msecs ) ; destroyOnTimeout ( socket ) ; }
Sets up a timer to trigger a timeout event
Sets up a timer to trigger a timeout event