把你想知道IP地址的那个人“请”到QQ的“二人世界”里。接着,我们在DOS窗口里(Win9x下叫DOS,Win2000下叫命令提示符)。输入如下命令:
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
好家伙,这么多IP!哪个才是我们要找的呢?别着急,往后看。我们现在退出“二人世界”,然后在DOS下再输入一次:
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
好了,现在你该知道了吧?对!和你聊天的人的IP就是:202.101.139.35!那你是怎么知道的呢?朋友,请看我们在“二人世界”时要传送消息,相互之间必然要产生连接(通过UDP协议),此时自然是“ESTABLISHED”了(以你用netstat -n命令的结果来说);而退出“二人世界”连接就断开了,自然就是“TIME_WAIT”了。
怎么知道对方的IP地址!
Tags:ip查询 QQ查询IP
2009-11-13 14:32:37 | 发布:ntsem | 分类:电脑常识荟萃 | 评论:0 | 引用:0 | 浏览:
- 相关文章:
- 2018 July (1)
- 2016 December (1)
- 2016 August (2)
- 2016 July (2)
- 2016 June (9)
- 2014 May (1)
- 2014 April (1)
- 2014 March (2)
- 2014 February (4)
- 2013 December (2)
- 2013 October (3)
- 2013 July (1)
- 2013 June (2)
- 2013 May (3)
- 2013 April (5)
- 2013 March (14)
- 2013 February (12)
- 2011 November (7)
- 2011 August (1)
- 2010 November (2)
- 2010 September (5)
- 2010 August (4)
- 2010 July (11)
- 2010 June (5)
- 2010 May (13)
- 2010 April (13)
- 2010 March (19)
- 2010 February (10)
- 2010 January (30)
- 2009 December (12)
- 2009 November (30)