方法:DOS
命令:netstat -n
和好友聊天,最好发张图片或表情。然后 开始 程序 CMD netstat -n
你将看到:
Active Connections
Proto Local Address Foreign Address State
TCP 202.109.34.78:1200 202.121.139.35:61555 ESTABLISHED
TCP 202.109.34.78:2694 202.109.72.40:6667 ESTABLISHED
TCP 202.109.34.78:4869 211.202.1.227:23 ESTABLISHED
这么多哪个才是我们要找的呢,这是退出聊天,开始 程序 CMD netstat -n
Active Connections
Proto Local Address Foreign Address State
TCP 202.109.34.78:1200 202.121.139.35:61555 TIME_WAIT
TCP 202.109.34.78:2694 202.109.72.40:6667 ESTABLISHED
TCP 202.109.34.78:4869 211.202.1.227:23 ESTABLISHED
开始对比
原来:TCP 202.109.34.78:1200 202.121.139.35:61555 ESTABLISHED
现在:TCP 202.109.34.78:1200 202.121.139.35:61555 TIME_WAIT
202.121.139.35 这个就是好友的IP