src/handler.js
function next () {
      shake.read(PING_LENGTH, (err, buf) => {
        if (err === true) {
          // stream closed
          return
        }
        if (err) {
          return log.error(err)
        }

        shake.write(buf)
        return next()
      })
    }
function next () {
      shake.read(PING_LENGTH, (err, buf) => {
        if (err === true) {
          // stream closed
          return
        }
        if (err) {
          return log.error(err)
        }

        shake.write(buf)
        return next()
      })
    }
function next ( ) { shake . read ( PING_LENGTH , ( err , buf ) => { if ( err === true ) { // stream closed return } if ( err ) { return log . error ( err ) } shake . write ( buf ) return next ( ) } ) }
receive and echo back
receive and echo back