Skip to content

pak-ji/mptcp-socket-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 

Repository files navigation

MPTCP Socket API test app

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.


Environment

  • ≥ Linux Kernel 4.4.x
  • ≥ MPTCP v0.92.x

How to installations?

in server
gcc -o server server.c
in client
gcc -o client client.c

How to run?

in server (do first, echo & file & packet_scheduler & path_manager & subflows_info)
./server [port number]
in client (echo)
./client [server address] [port number]
in client (file & packet_scheduler & path_manager & subflows_info)
./client [server address] [port number] [file path]

Cautions for Testing

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.

About

mptcp socket test sample code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages