Is it so troublesome to query the IP addresses of QQ friends? Just patch QQ? Yes, it's easy to do this, but what if it's a new QQ and the "patch" hasn't been done yet? Using software such as ipsniper, what should I do if I am not in a hurry to check it? You can use other software, such ...... Well, I want to talk about other people's software. Why don't I try the doscommand? That is, it is simple, convenient, and environmentally friendly (unlike applications that require additional installation and hard disk space, they also occupy the same resources ).
Not long-winded, officially started. First, send the person you want to know the IP address to QQ's "two-person world" with weapons such as sweet words and sugar-coated shells. In the DOS window (DOS in Win9x and command prompt in Win2000 ). Run the following command:
Netstat-n
You will see:
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
Good guy, so many IP addresses! Which one is what we are looking? Don't worry. Read it later. Now we exit the "two man world", and then input it again in DOS:
Netstat-n
You will see:
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
Do you see the difference between the two before and after? Not shown? Take a closer look and you will find that:
Originally, TCP 202.109.34.78: 1200 202.121.139.35: 61555 established
Now TCP 202.109.34.78: 1200 202.121.139.35: 61555 time_wait
Okay, now you should know? Yes! The IP address of the person you chat with is: 202.101.139.35! So how do you know? Friends, please refer to the two-person world in which we want to transmit messages, and there must be connections between them (through UDP protocol ), at this time, it is "established" (in the result of your use of the netstat-N command); and the disconnection from "Two Worlds" is naturally "time_wait.
Is it easy? In this way, it is useless to use an external software (netstat is a Windows external command). Is it as simple, convenient, and environmentally friendly as we mentioned earlier? Try again soon!