libping 1.15 review
Downloadlibping is a C library designed to allow a programmer to make ICMP_ECHO requests directly from a script or program
|
|
libping is a C library designed to allow a programmer to make ICMP_ECHO requests directly from a script or program. libping's functions return either boolean--is alive--or the round trip time in milliseconds.
The library also includes support for "pinging" the following tcp/ip services: echo, http, https, smtp and pop3. Versions 1.15 and better are threadsafe.
Installation:
In a nutshell, to install the application in the default directory, ( /usr/local ), run the following commands:
$ ./configure
$ make
$ make install
This will install the application ( ring ) in the default directory /usr/local/bin. If that directory is in your PATH, then to run ring and view the online help type:
$ ring --help
It will also install libping in /usr/local/lib and place the header file ping.h in /usr/local/include.
To learn more about ring, make sure /usr/local/man is in your MANPATH and type:
$ man ring
For information about the C library functions, type:
$ man pinghost
For more details, read on. Especially if you want to install libping in a directory other that /usr/local
libping 1.15 keywords