Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.12 KB

mptcp.md

File metadata and controls

38 lines (29 loc) · 1.12 KB
c SPDX-License-Identifier Long Added Help Category Multi See-also Example
Copyright (C) Dorian Craps, <dorian.craps@student.vinci.be>
curl
mptcp
8.7.2
Enable Multipath TCP (MPTCP)
connection
boolean
tcp-fastopen
--mptcp $URL

--mptcp

Enables the use of Multipath TCP (MPTCP) for connections. MPTCP is an extension to the standard TCP that allows multiple TCP streams over different network paths between the same source and destination. This can enhance bandwidth and improve reliability by using multiple paths simultaneously.

MPTCP is beneficial in networks where multiple paths exist between clients and servers, such as mobile networks where a device may switch between Wi-Fi and cellular data or in wired networks with multiple ISPs.

Usage

To use MPTCP for your connections, add the --mptcp option when using curl:

Requirements

  • This feature is currently only supported on Linux starting from kernel 5.6.
  • The server you are connecting to must also support MPTCP. If not, the connection falls back to TCP..

Availability

The --mptcp option is available starting from curl version 8.7.0.