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? Thanks S