>I am writing a small linux application and at some point i want to know if 
>the user is hooked to the internet. how can i tell if the user has 
>internet access at the moment ????

   You could check to see if a default route is present.

-Mike
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to