What is ping, and how do you ping your host?
Ping is a command that checks the connection between two points, such as two computers or a computer and a website, and measures how long packets take to travel there and back. The faster the connection and the quicker data is sent and received, the lower your ping. The number tells you about the quality of your internet connection, or of the server you’re pinging.
Ping uses the ICMP protocol to send and receive packets, then prints the result. Ping time grows with the distance between your computer and the destination server. Ping time, or more precisely ping latency, is the delay in exchanging data with the destination, and you’ll see different numbers depending on which server you ping.
To use it on Windows, type CMD in the Start menu search, or open the Run dialog, type CMD and press Enter. CMD, the Command Prompt, is the black window where you can type and run commands such as ping. Type ping SiteURL.com and press Enter.
Here, SiteURL.com stands for the website address or server IP you want to test. When you run the command, four packets are sent, and the round-trip time for each is shown in milliseconds on four lines.
Ping is also useful for tracking down network problems and checking whether your connection is up. Ping times to servers in Iran are low for users in Iran, because the datacenters are much closer than those abroad; you’ll typically see times under 100 milliseconds.
Here’s an example of pinging a host:

Open the Run dialog.
Type CMD and press Enter.
In the Command Prompt, type the following command:
ping mizbandade.com -t
Then press Enter to run it.
Instead of a domain name, you can enter the server’s IP address, for example:
ping 1.1.1.1 -t
This pings the same server; there’s no difference.

The -t option keeps sending packets to the destination continuously. Without it, as explained above, only four packets are sent; with it, pinging continues until you stop it (press Ctrl+C).
As in the image, you’ll see a ping time for each reply. For servers and hosting in Iran, it’s usually under 100 ms.
Thanks for reading. Follow Mizbandade for more guides.

