Skip to content

cleborys/nettools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nettools

C++ implementation of a few network tools built around C sockets for educative purposes.

Build Status

Build

Building requires cmake version 3.10 or higher.

mkdir build
cd build
cmake ..
make

Run Tests

Having built as above, run

ctest -V

Note that creating "raw" sockets (e.g. for ICMP) requires the appropriate rights, so you might have to run sudo ctest -V for these tests to pass.

To get code coverage metrics, compile as follows:

cmake -DCMAKE_BUILD_TYPE=Debug ..
make coverage

and view build/coverage/index.html.

About

C++ implementation of a few network tools built around C sockets for educative purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published