title: what is the difference between close timeout and heartbeat interval in socket.io
body: <p>Well as the question says what's the difference between close timeout and heartbeat interval parameters in socket.io</p>
  
  <p>I read about them in the github page for socket.io</p>
  
  <p><a href="https://github.com/LearnBoost/Socket.IO/wiki/Configuring-Socket.IO" rel="nofollow noreferrer">https://github.com/LearnBoost/Socket.IO/wiki/Configuring-Socket.IO</a></p>
  
  <p>But,couldn't quite understand the difference as to how are they related and if the values for both should be same or not in the case when I am manually configuring them.</p>
  
  <p>Some more materials regarding this topic I came about --------------------</p>
  
  <p><a href="https://groups.google.com/forum/?fromgroups#!topic/socket_io/2hn52Udb-3A" rel="nofollow noreferrer">https://groups.google.com/forum/?fromgroups#!topic/socket_io/2hn52Udb-3A</a></p>
  
  <p><a href="https://stackoverflow.com/questions/7061362/advantage-disadvantage-of-using-socketio-heartbeats">Advantage/disadvantage of using socketio heartbeats</a></p>
  
  <p><a href="https://stackoverflow.com/questions/11129391/socket-io-connection-event-fired-on-every-client-heartbeat">Socket.io &quot;connection&quot; event fired on every client heartbeat?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/14914768/is-it-safe-to-set-a-high-close-timeout-on-socket-io">Is it safe to set a high close timeout on socket.io?</a></p>