Organizational Research By

Surprising Reserch Topic

controlling the heartbeat timeout from the client in socket io


controlling the heartbeat timeout from the client in socket io  using -'node.js,client,socket.io'

I have mobile clients connected to a node.js server, running socket.io via xhr-polling. I have two type of clients:


Type A

When the connection breaks up due to network problems (or that the
client craches) the default heart beat timout is to loong
Type B

When the connection breaks up for this client i need to give it more
time to recover - it is more important that the client recover than
that the server breaks the connection/session


So my question is how to I configure (if it is possible) the heart beat timeouts from the actual client?
    

asked Sep 18, 2015 by virendra.bajaj
0 votes
130 views



Related Hot Questions

3 Answers

0 votes
NULL
answered Sep 18, 2015 by sachin valanju
0 votes
NULL
answered Sep 18, 2015 by badhwar.rohit
0 votes
NULL
answered Sep 18, 2015 by kinnari

...