Pining for a Pinger

ISPs conserve their resources by logging off connections that have been idle for a while. A Ping utility keeps your Internet connection alive.

Ping (packet Internet groper) is a standard TCP/IP utility used to query an Internet host (any machine on the Internet is called a host) and ensure that it is possible to establish an active connection. It's a form of cyberforeplay, equivalent to saying "You awake?"

If you Ping continually, you fool your ISP's system into thinking the connection is always in use and avoid being logged off. However, just as repeated wake-up calls may annoy, Pinging continually is Internet-antisocial. If you're paying for time online, rather than for a fixed price connection, you may find it expensive to keep the line open. If you're paying a fixed price with an additional cost for download traffic, you may end up paying more if you don't limit the traffic your Pinging generates.

Windows 9x comes with a simple command line Ping utility. To use it you simply start up an MS-DOS session (Start-Programs-MS-DOS Prompt) and type:



is either the IP address (eg or the domain name (eg of the machine you wish to Ping. Type Ping with no argument to see a full set of options.

Ping attempts to send a packet to the machine and receive an echoed packet in return, and displays the time taken for the round trip. If it fails to receive a packet in reply, Ping displays an error message: "Bad IP address" indicates you used a domain name that cannot be resolved, and "Timed out" indicates no reply arrived before the timeout period elapsed. If it fails all four times, someone has a headache. This could be the TCP/IP software on the local or remote machine, or some part of the network in between.

Not only does Ping tell you if the destination machine is talking to you, it measures with the time value the sluggishness of the network connecting you. TTL (Time to Live) is a setting that determines an upper limit on time and router hops before the packet times out.

The Ping option -t causes the utility to Ping a specified address until interrupted. If you don't interrupt Ping, it should keep the connection alive permanently. With this Ping utility, there is no option to limit the traffic, and this may result in a cost.

You can create a batch file containing the Ping -t

command, and place a Shortcut on your desktop. For an address you can use your ISP's Web or mail server name.

Manually start the batch file after you start your dial-up connection. You could place the Shortcut in your Windows startup folder and have it permanently running, but this is a waste of computer resources. When you're not connected to the Internet, a goodly portion of your CPU cycles will be devoted to creating the message: "Destination host unreachable".

For more functionality and a graphical interface, try the WS_Ping Pro Pack, a Windows 95/NT program offering not only Ping but traceroute, name server lookup, finger, whois, LDAP, quote, scan, SNMP and WinNet (see our cover CD). It also lets you query HTML headers and synchronise your system with world standard digital clocks such as the US Navy Clock. A 30-day evaluation version is available at and the single user purchase price is $US37.50 - not bad for a professional network diagnostic utility. WS_Ping has context sensitive online help explaining in detail all the tools it provides, including Ping. By setting the delay to 60 seconds you limit traffic, and by setting the repeat count to 9999 you keep the connection open.

Join the newsletter!


Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Neale Morison

PC World
Show Comments

Brand Post

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Tom Pope

Dynabook Portégé X30L-G

Ultimately this laptop has achieved everything I would hope for in a laptop for work, while fitting that into a form factor and weight that is remarkable.

Tom Sellers


This smart laptop was enjoyable to use and great to work on – creating content was super simple.

Lolita Wang


It really doesn’t get more “gaming laptop” than this.

Jack Jeffries


As the Maserati or BMW of laptops, it would fit perfectly in the hands of a professional needing firepower under the hood, sophistication and class on the surface, and gaming prowess (sports mode if you will) in between.

Taylor Carr


The MSI PS63 is an amazing laptop and I would definitely consider buying one in the future.

Christopher Low

Brother RJ-4230B

This small mobile printer is exactly what I need for invoicing and other jobs such as sending fellow tradesman details or step-by-step instructions that I can easily print off from my phone or the Web.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?