LWN.net Logo

Multipath TCP: an overview

Multipath TCP: an overview

Posted Apr 4, 2013 4:04 UTC (Thu) by kevinm (guest, #69913)
In reply to: Multipath TCP: an overview by ebiederm
Parent article: Multipath TCP: an overview

What do the getsockname() and getpeername() APIs do on a MPTCP connection?


(Log in to post comments)

Multipath TCP: an overview

Posted Apr 4, 2013 6:24 UTC (Thu) by christophpaasch (subscriber, #54567) [Link]

It returns the info from the initial TCP subflow.

So, even if the host has moved away (e.g., moved away from its WiFi access-point and MPTCP switched to 3G), the syscalls still return the old address of the WiFi interface.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds