第一:先執行WinPcap進行安裝函式庫
http://www.winpcap.org/install/default.htm
第二:將TcpPing.exe與tracetcp.exe兩支程式放置於 C:\WINNT(2000) C:\WINDOWS(XP)下
tracetcp
http://tracetcp.sourceforge.net/
tcping
http://www.elifulkerson.com/projects/tcping.php
Usage: tcping [-t] [-d] [-i interval] [-n times] server-address [server-port]
-t : ping continuously until stopped via control-c
-n 5 : for instance, send 5 pings
-i 5 : for instance, ping every 5 seconds
-d : include date and time on each line
-b 1 : enable beeps (1 for on-down, 2 for on-up,
3 for on-change, 4 for always)
If you don't pass server-port, it defaults to 80.
第三:執行命令提示字元
輸入下列語法做測試:
tracetcp IP:port與 tcping IP port測試
C:\Documents and Settings\Administrator>tracetcp 168.95.1.1:53
C:\Documents and Settings\Administrator>tcping 168.95.1.1 53