You can also use the doscommand to check the IP addresses of QQ friends.

Source: Internet
Author: User
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.