Test the network response time.
This source code is for studying the RAW sockets, C++20 and CMake. The ping algorithm referenced iputils/ping, and the source code can be found at the following link: https://github.com/iputils/iputils
$ sudo apt install libcap-dev
$ cd <your-workspace>
$ git clone https://github.com/danichoi737/ping.git
$ cd ping
$ mkdir build && cd build
$ cmake ..
$ make
$ ping <target-ip>