Thank you for your help. I had found this link with google / python but the code is not very handy. I have found this (better because structurated as a class) : http://pynms.sourceforge.n
Main Topics
Browse All TopicsI have to write a script to monitor a mysql connection. Before I do this I want to test if my machine can access Internet by pinging the DNS server of my provider. I have seen very complicated ICMP functions. Does it not exist an obvious and easy to make a ping and return a boolean ?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Thank you for your help. I had found this link with google / python but the code is not very handy. I have found this (better because structurated as a class) : http://pynms.sourceforge.n
Business Accounts
Answer for Membership
by: rjkimblePosted on 2004-11-25 at 15:26:16ID: 12677691
Check out: http://www.python.org/~jer emy/python .html
emy/ping.t ar.gz
He has written ping in pure Python. You can download his code here: http://www.python.org/~jer
I tried it in Windows and it seems to work just fine. I ran the following command:
ping.py cisco.com 4