title: How to change pingTimeout socket.io nodejs
body: <p>Quite new to sockets.  </p>
  
  <p>Figured out that my nodejs client socket has a pingTimoeut default set to 5000ms. I want to change the default pingTimeout... Have googled and looked here but haven't found the way to do it in my case.</p>
  
  <p>Below is part of the code I'm working on:</p>
  
  <pre><code>const io = require('socket.io').listen(httpServer);
  </code></pre>
  
  <p>Then the following code inside a vue component.</p>
  
  <pre><code>this.socket = io.connect()
  </code></pre>
  
  <p>How do I change the pingTimeout on this particular socket instance? </p>