On Thu, Feb 03, 2000 at 01:06:47AM +0200, Janne P?nk?l? wrote:
> > 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 ????
>
> ping the gateway it ought to be always available when connected?
A definitely "remote" machine would be enough. yahoo.com or some other
search engine pops in mind.
The "gateway" is rather dubious to define, and on a private lan on
somebody's home the gateway is supposed to always be available.
--
Giorgos Keramidas, < keramida @ ceid . upatras . gr >
For my public PGP key: finger [EMAIL PROTECTED]
PGP fingerprint, phone and address in the headers of this message.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]