This is echo and file send program between server and client.
To run this, the Linux kernel must first have MPTCP built into it.
Refer to ref 1) below to build MPTCP in the Linux kernel.
And I used tcpdump for packet capture.
And I used ifstat for NIC statistics.
- ref 1) : www.multipath-tcp.org
- ref 2) : https://irtf.org/anrw/2016/anrw16-final16.pdf
- ≥ Linux Kernel 4.4.x
- ≥ MPTCP v0.92.x
gcc -o server server.c
gcc -o client client.c
./server [port number]
./client [server address] [port number]
./client [server address] [port number] [file path]
It does not work as an MPTCP stack when proceeding to the loopback address("localhost", "127.0.0.1").
Make sure you send it to physical address.