Skip to content

sunnyworm/tfoecho

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tfoecho

Test code for TCP Fast Open

TCP Fast Open

TCP Fast Open is an extension to TCP Protocol which enables to transfer data in SYN packets. For more details, read an LWN article: http://lwn.net/Articles/508865/

Requirements

  • Linux 3.7 or later
  • C++11 compliant compiler (confirmed with GCC 4.8.1)

Build

make

Run

Before running:

Make sure to enable TCP Fast open on both sides:

sudo sysctl -w net.ipv4.tcp_fastopen=3

On server:

./server

On Client:

./client <server addr> <message size> <test count> <threads>

for example, ./client 192.168.1.1 1024 1000 8 sends random packets of 1024 bytes 1000 times in 8 threads.

About

Test code for TCP Fast Open

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.2%
  • Makefile 2.8%