This uses IPPROTO_ICMP sockets, which most modern linux systems support. This allows directly sending icmp echo requests without having to use the tcp ping check. As a fallback the old tcp ping method is used if socket setup fails.
This uses IPPROTO_ICMP sockets, which most modern linux systems support. This allows directly sending icmp echo requests without having to use the tcp ping check. As a fallback the old tcp ping method is used if socket setup fails.