How to Ping to Keep a Connection Alive

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.

Ping is a command that verifies IP-level connectivity to another TCP/IP computer by sending Internet Control Message Protocol (ICMP) packets. You can use the infinite ping command to keep an Internet connection active. The infinite ping command keeps sending an infinite number of packets, as opposed to the regular ping command that only sends four packets. This way, you can keep your your existing Internet connection active as long as you want.

Advertisement

Step 1

Click the Start menu and type "cmd" (without the quotes) in the search box.

Video of the Day

Step 2

Click "cmd.exe" to launch the Command Prompt.

Step 3

Type the following command: ping -t

Advertisement

Replace "" with the IP address of any website. For example, "ping 127.0.0.1 -t"

Advertisement

Step 4

Press the "Enter" key to start the infinite ping and keep the Internet connection active.

Advertisement

Step 5

Press and hold "Ctrl" + "C" keys to stop the infinite ping. You can also close the "Command Prompt" window to end the task.

Video of the Day

Advertisement

Advertisement

references