Windows下的CMD窗口netstat命令
netstat -an|find "6100" |find "ESTABLISHED" /c
netstat -an|find "6100" |find "TIME_WAIT" /c