Testing for Internet Connection

Alexnb alexnbryan at gmail.com
Tue Jul 15 17:39:31 CEST 2008

Ben Finney-2 wrote:
> Alexnb <alexnbryan at gmail.com> writes:
>> I am wondering, is there a simple way to test for Internet
>> connection? If not, what is the hard way :p
> Refine the question: What do you mean by "internet"? It isn't a single
> entity.
> Do you mean "some particular internet host responding on a particular
> network port"?
> If you can define exactly what you mean by "internet connection", the
> test for it becomes correspondingly easier.
> -- 
>  \      “Why should I care about posterity? What's posterity ever done |
>   `\                                            for me?” —Groucho Marx |
> _o__)                                                                  |
> Ben Finney
> --
> http://mail.python.org/mailman/listinfo/python-list

Well, really I just need to figure out if I am able to connect to one site.
That site is dictionary.com.
View this message in context: http://www.nabble.com/Testing-for-Internet-Connection-tp18460572p18468350.html
Sent from the Python - python-list mailing list archive at Nabble.com.

More information about the Python-list mailing list