To run this code there is a Makefile with simple shortcuts
sudo make
: will compile the Bare Minimum filesudo make struct
: will compile the Struct Response filesudo make check
: will compile the Checksum file.sudo make clean
: of corse will remove the binary file after compilation.
You can use the following combo sudo make && sudo ./ping.out && make clean
to:
- compile
- run the code
- delete the unnecessary file