Patent ID: 9591083
Date: 2017-03-07
CPC Classifications: H04L

Claim:
1. A computer-implemented method in which a computer system running a chat client performs operations providing connection recovery, the method comprising: requesting by said computer system a chat session connection with a server; sending, from said computer system, heartbeat messages from the computer system to said server at a predetermined time interval in a first hidden frame, keeping the heartbeat messages transparent from said chat client, wherein said sending heartbeat messages comprises sending, by said computer system, a serverPoll message to said server; receiving a return heartbeat message from the server in response to each of the heartbeat messages sent from the computer system, wherein the return heartbeat message comprises a serverPolled function callback in a second hidden frame; detecting, by said computer system, a failure to receive a serverPolled function callback for longer than one of said predetermined time intervals, indicating said chat client connection is lost; and queuing messages at said computer system while said chat session connection is lost.