How to Ping to Keep a Connection Alive

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

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

Step

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

Step

Type the following command: ping-t

Step

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

Step

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

Step

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