in reply to
Checking ADSL connection
Thank you Ozymandias and lhoward
but, the major problem i have is the model of my adsl modem, an Alcatel SPEED TOUCH™ Home, and I "looked" in the manual, and found no comment about pinging the dsl modem, or stuff like that to this modem model...
so, I believe i've got to do things in a different way than you just did!
But your code's source, will be a giant push for my @#$@$ adsl connection to stay on-line... :)