xref: /curl/docs/cmdline-opts/mptcp.md (revision 9fb759f9)
1---
2c: Copyright (C) Dorian Craps, <dorian.craps@student.vinci.be>
3SPDX-License-Identifier: curl
4Long: mptcp
5Added: 8.9.0
6Help: Enable Multipath TCP
7Category: connection
8Multi: boolean
9See-also:
10  - tcp-fastopen
11Example:
12  - --mptcp $URL
13---
14
15# `--mptcp`
16
17Enables the use of Multipath TCP (MPTCP) for connections. MPTCP is an extension
18to the standard TCP that allows multiple TCP streams over different network
19paths between the same source and destination. This can enhance bandwidth and
20improve reliability by using multiple paths simultaneously.
21
22MPTCP is beneficial in networks where multiple paths exist between clients and
23servers, such as mobile networks where a device may switch between WiFi and
24cellular data or in wired networks with multiple Internet Service Providers.
25
26This option is currently only supported on Linux starting from kernel 5.6. Only
27TCP connections are modified, hence this option does not effect HTTP/3 (QUIC)
28or UDP connections.
29
30The server curl connects to must also support MPTCP. If not, the connection
31seamlessly falls back to TCP.
32