Git Product home page Git Product logo

mptcp-hello's Introduction

Hello Multipath TCP !

Multipath TCP is a TCP extension specified in RFC8684 that allows a TCP connection to use different paths such as Wi-Fi and cellular on smartphones or Wi-Fi and Ethernet on laptops. Multipath TCP is supported by Linux kernel versions >5.15 and enabled on many popular distributions.

The utilization of Multipath TCP is negotiated during the TCP three-way handshake. This implies that if a Multipath TCP client contacts a regular TCP server, they will use a regular TCP connection. Similarly, if a regular TCP client contacts a Multipath TCP server, they will use a regular TCP connection. Multipath TCP will only be used if both the client and the server support Multipath TCP.

Two steps are required to use Multipath TCP on a host with a recent Linux kernel. First, the net.mptcp.enabled sysctl variable must be set to 1 :

sysctl net.mptcp.enabled=1

Second, the application must pass IPPROTO_MPTCP as the third parameter of the socket() system call.

The following examples show how enable Multipath TCP with different programming languages:

If you do not have access to the application's source code, you can use mptcpize to automatically transform the TCP socket system calls into Multipath TCP sockets.

The implementation of Multipath TCP in the Linux kernel is regularly improved. You can track the changes at https://github.com/multipath-tcp/mptcp_net-next/wiki

mptcp-hello's People

Contributors

obonaventure avatar martichou avatar matttbe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.