A method comprising: generating, by a replication module of a standby node for a primary node in a network, a backup socket using information corresponding to a connected socket at the primary node of the network, wherein the information comprises a transport layer state of the connected socket, wherein the connected socket at the primary node provides network communication connectivity between the primary node and a peer network device in accordance with a transport layer protocol, wherein the backup socket of the standby node is configured to provide network communication connectivity between the standby node and the peer network device after a switchover from the primary node; and in response to the switchover, retrieving, by the replication module, a portion of a send buffer of the backup socket comprising at least one next data block to be transmitted to the peer network device from the primary node at a time of the switchover in accordance with the transport layer state of the connected socket, wherein the send buffer comprises a sequence of data blocks written to the connected socket by the primary node, wherein the transport layer state of the connected socket comprises information identifying which data blocks of the send buffer have been transmitted but not yet acknowledged and which data blocks of the send buffer have been written to the connected socket but not yet transmitted by the primary node, and sending, by the replication module, the at least one next data block to the peer network device via the backup socket. generating, by a replication module of a standby node for a primary node in a network, a backup socket using information corresponding to a connected socket at the primary node of the network, wherein the information comprises a transport layer state of the connected socket, wherein the connected socket at the primary node provides network communication connectivity between the primary node and a peer network device in accordance with a transport layer protocol, wherein the backup socket of the standby node is configured to provide network communication connectivity between the standby node and the peer network device after a switchover from the primary node; and in response to the switchover, retrieving, by the replication module, a portion of a send buffer of the backup socket comprising at least one next data block to be transmitted to the peer network device from the primary node at a time of the switchover in accordance with the transport layer state of the connected socket, wherein the send buffer comprises a sequence of data blocks written to the connected socket by the primary node, wherein the transport layer state of the connected socket comprises information identifying which data blocks of the send buffer have been transmitted but not yet acknowledged and which data blocks of the send buffer have been written to the connected socket but not yet transmitted by the primary node, and sending, by the replication module, the at least one next data block to the peer network device via the backup socket. retrieving, by the replication module, a portion of a send buffer of the backup socket comprising at least one next data block to be transmitted to the peer network device from the primary node at a time of the switchover in accordance with the transport layer state of the connected socket, wherein the send buffer comprises a sequence of data blocks written to the connected socket by the primary node, wherein the transport layer state of the connected socket comprises information identifying which data blocks of the send buffer have been transmitted but not yet acknowledged and which data blocks of the send buffer have been written to the connected socket but not yet transmitted by the primary node, and sending, by the replication module, the at least one next data block to the peer network device via the backup socket. <EOS>