multipath-tcp / mptcp

⚠️⚠️⚠️ Deprecated 🚫 Out-of-tree Linux Kernel implementation of MultiPath TCP. 👉 Use https://github.com/multipath-tcp/mptcp_net-next repo instead ⚠️⚠️⚠️
https://github.com/multipath-tcp/mptcp_net-next
Other
888 stars 335 forks source link

How can i use the mptcp socket api? #419

Closed pak-ji closed 3 years ago

pak-ji commented 3 years ago

I followed this to use the MPTCP Socket API. my mptcp setting (mptcp_enabled=2) -> mptcp setting

I wrote the echo server(localhost) and client in c. And I used tcpdump to capture between(server - client).

But I failed, because packet not with the mptcp option. this is tcpdump result. (test message is "hello") -> result image

This is echo server source code -> mptcp echo server And this client source code -> mptcp client


What did I miss? Please tell me a solution. Thank you.

matttbe commented 3 years ago

Hi,

Please don't share code with image but with text.

I guess you are using an app on your loopback? MPTCP is disabled for local only traffic (e.g. 127.0.0.1).

pak-ji commented 3 years ago

Right.. I tested it with a loopback address.

Thank you for letting me know the solution. I won't upload the source code as an image next time.

Thank you so much!!

matttbe commented 3 years ago

You're welcome