×

Error recovery in a client/server application using two independent sockets for communication

  • US 20050138460A1
  • Filed: 11/19/2003
  • Published: 06/23/2005
  • Est. Priority Date: 11/19/2003
  • Status: Active Grant
First Claim
Patent Images

1. A method for detecting a failure at a first host having a first socket and a second socket, wherein the first host'"'"'s first socket is used for sending requests to a second host'"'"'s first socket, and receiving responses from the second host'"'"'s first socket, and the first host'"'"'s second socket is used for receiving requests from the second host'"'"'s second socket, and sending responses to the second host'"'"'s second socket, comprising:

  • detecting when a failure condition occurs at the first host'"'"'s second socket, and, when the failure condition is detected;

    attempting to send a communication from the first host'"'"'s first socket to the second host'"'"'s first socket;

    if the attempt to send succeeds, closing the first host'"'"'s second socket, then attempting to reconnect the first host'"'"'s second socket; and

    if the attempt to reconnect succeeds, setting an internal state to indicate that normal operation is resumed.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×