Managing connections for data communications following socket failure
First Claim
1. An apparatus comprising:
- a first device for communicating data with a second device over at least one socket-based connection, wherein the at least one socket based connection includes a first existing connection pipe between the first device and the second device, wherein the first device communicates with the second device over the first existing connection pipe by at least accessing the first existing connection pipe via a first existing socket of the first device, wherein the second device communicates with the first device over the first existing connection pipe by at least accessing the first existing connection pipe via a first existing socket of the second device, the first device comprising a connection manager configured to;
initiate a process for establishing a second connection pipe of the at least one socket-based connection between the first device and the second device, wherein the second connection pipe is a new connection pipe that is a replacement for the first existing connection pipe;
receive acknowledgement from the second device, the acknowledgement confirming that the second connection pipe is established between the first device and the second device, wherein the first device communicates with the second device over the second connection pipe by at least accessing the second connection pipe via a second existing socket of the first device, wherein the second device communicates with first device over the second connection pipe by at least accessing the second connection pipe via a second existing socket of the second device, wherein the second existing socket of the first and second device replaces the first existing socket of the first and second device, andre-associate sessions of the first existing socket at the first device to the second existing socket at the first device.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus, computer-implemented method and computer program product manages connections for data communication. A first system initiates a process for establishing a new connection pipe of a socket-based connection between the first system and a second system. The new connection pipe is a replacement for an existing connection pipe. The existing connection pipe is accessed by a respective existing socket at each of the first and second systems. The first system receives acknowledgement from the second system confirming that the replacement connection pipe is established. The replacement connection pipe is accessed by a respective replacement socket at each of the first and second systems. The first system re-associates sessions of the existing socket at the first system to the replacement socket at the first system.
74 Citations
13 Claims
-
1. An apparatus comprising:
a first device for communicating data with a second device over at least one socket-based connection, wherein the at least one socket based connection includes a first existing connection pipe between the first device and the second device, wherein the first device communicates with the second device over the first existing connection pipe by at least accessing the first existing connection pipe via a first existing socket of the first device, wherein the second device communicates with the first device over the first existing connection pipe by at least accessing the first existing connection pipe via a first existing socket of the second device, the first device comprising a connection manager configured to; initiate a process for establishing a second connection pipe of the at least one socket-based connection between the first device and the second device, wherein the second connection pipe is a new connection pipe that is a replacement for the first existing connection pipe; receive acknowledgement from the second device, the acknowledgement confirming that the second connection pipe is established between the first device and the second device, wherein the first device communicates with the second device over the second connection pipe by at least accessing the second connection pipe via a second existing socket of the first device, wherein the second device communicates with first device over the second connection pipe by at least accessing the second connection pipe via a second existing socket of the second device, wherein the second existing socket of the first and second device replaces the first existing socket of the first and second device, and re-associate sessions of the first existing socket at the first device to the second existing socket at the first device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
9. A computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, wherein the program instructions are executable by a processor of a first system, the first system for communicating data with a second system over at least one socket-based connection, wherein the at least one socket based connection includes a first existing connection pipe between the first system and the second system, wherein the first system communicates with the second system over the first existing connection pipe by at least accessing, the first existing connection pipe via a first existing socket of the first system, wherein the second system communicates with the first system over the first existing connection pipe by at least accessing the first existing connection pipe via a first existing socket of the second system, the program instructions when executed by the processor cause the processor to:
-
initiate, by first system, a process for establishing a second connection pipe of the at least one socket-based connection between the first system and the second system, wherein the second connection pipe is a new connection pipe that is a replacement for the first existing connection pipe; receive, by the first system, acknowledgement from the second system, the acknowledgement confirming that the second connection pipe is established between the first system and the second system, wherein the first system communicates with the second system over the second connection pipe by at least accessing the second connection pipe via a second existing socket of the first system, wherein the second system communicates with a second existing socket of the second system, wherein the second existing socket of the first and second system replaces the first existing socket of the first and second system; and re-associate, by the first system, sessions of the first existing socket at the first system to the second existing socket at the first system. - View Dependent Claims (10, 11, 12, 13)
-
Specification