主权项 |
1. A method for path selection using TCP handshake in a multipath environment, the method comprising:
sending, from a first application executing using a processor and a memory in a first data processing system, a plurality of SYN packets, wherein each of the plurality of SYN packets traverses a different path in a first set of paths between the first data processing system and a second data processing system in a multipath data communication network, each of the plurality of SYN packets including a corresponding unique source identifier; selecting, at the first application, from a plurality of SYN-ACK packets, a SYN-ACK packet, wherein the selected SYN-ACK packet is first to arrive at the first application as compared to other SYN-ACK packets in the plurality of SYN-ACK packets, wherein each SYN-ACK packet in the plurality of SYN-ACK packets includes a unique source identifier of a selected SYN packet in the plurality of SYN packets; configuring a path from the first set of paths, corresponding to the selected SYN packet, as an outbound path from the first data processing system; configuring a path from a second set of paths, corresponding to the selected SYN-ACK packet, as an inbound path to the first data processing system; and establishing a Transport Control Protocol (TCP) session between the first data processing system and the second data processing system using the outbound path and the inbound path. |