pingr
pingr copied to clipboard
ICMP and TCP ping and related tools
The include directive of `netinet/in.h` must be before `resolv.h` on FreeBSD, otherwise, the following errors will occur: ``` In file included from dns.c:265: /usr/include/resolv.h:159:14: error: array has incomplete element type...
`-lresolv` is not needed for FreeBSD since it is in libc. So, https://github.com/r-lib/pingr/blob/bfe03f4c34945c50a856a7c4844f642fb310193d/src/Makevars#L1 will raise an error during build. To fix it, just an empty PKG_LIBS would work, but I...
Could support for parsing SRV records be added to `nsl()`? I've been looking for a self-contained way to query SRV records, ultimately to enable shiny apps to find plumber API...
Because the various ping programs work differently, e.g. take different arguments, etc.
would a function assessing the internet connection be in scope for this package?