DC娱乐网

常用的ping命令是基于网络层的ICMP协议(Internet Control

常用的ping命令是基于网络层的ICMP协议(Internet Control Message Protocol),用于测试主机是否可达,如果发送ICMP报文没有收到响应就认为不可达,ping命令不能测试指定的端口状态,而且很多主机会禁用ping命令,导致ping命令无回应。
tcping工具工作在传输层,用于检测端口连接性,在禁用了ping的情况下仍然可以使用tcping进行连接测试。
tcping工具不是系统提供的工具,需要下载,将下载的tcping.exe存放到目录C:\Windows\System32,这样就无需设置环境变量就可以使用tcping命令了。
tcping示例:
tcping www.bing.com 80
Probing 202.89.233.100:80/tcp - Port is open - time=37.059ms
Probing 202.89.233.100:80/tcp - Port is open - time=40.121ms
Probing 202.89.233.100:80/tcp - Port is open - time=44.992ms
Probing 202.89.233.100:80/tcp - Port is open - time=39.582ms
Ping statistics for 202.89.233.100:80
4 probes sent.
4 successful, 0 failed. (0.00% fail)
Approximate trip times in milli-seconds:
Minimum = 37.059ms, Maximum = 44.992ms, Average = 40.438ms

下载链接:
1.