check internet connection

gnn at freebsd.org gnn at freebsd.org
Fri Oct 27 15:59:02 UTC 2006


At Fri, 27 Oct 2006 09:43:17 +1000,
Sam Wun wrote:
> 
> [1  <text/plain; ISO-8859-1 (7bit)>]
> Hi,
> 
> I want to write a C program to check freebsd's internet connection.
> What s the best way to achieve this checking in layer 2 or 3 of the tcp/ip
> stacks in freebsd?

What do you want to check?  There are many layers of connectivity.

Later,
George


More information about the freebsd-net mailing list