Nettools Require libboost to work. mkdir build && cmake .. && make ping The code is based on the example from boost.