How to Ping to Keep a Connection Alive

By Suvro Banerji

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.

Step 1

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

Step 2

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

Step 3

Type the following command:ping-t Replace "" with the IP address of any website. For example, "ping -t"

Step 4

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

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.