windows cmd line ping定时延迟实现
使用ping 的定时功能,精度1秒
ping -n 5 127.0.0.1 > null
说明:5为ping包发送次数,可作为延迟秒数进行使用,需要延迟几秒就设置几。
-n count Number of echo requests to send.
使用ping 的定时功能,精度1秒
ping -n 5 127.0.0.1 > null
说明:5为ping包发送次数,可作为延迟秒数进行使用,需要延迟几秒就设置几。
-n count Number of echo requests to send.