0

当我使用nslookupfor时,"google.com"我得到以下信息:

Addresses:  2607:f8b0:400a:801::1001
          173.194.33.32
          173.194.33.36
          173.194.33.34
          173.194.33.37
          173.194.33.33
          173.194.33.46
          173.194.33.39
          173.194.33.41
          173.194.33.38
          173.194.33.40
          173.194.33.35

但是,当我调用GetAddrInfoW并传递它时,L"google.com"我得到以下信息:

173.194.33.41
173.194.33.39
173.194.33.46
173.194.33.33
173.194.33.37
173.194.33.38
173.194.33.40
173.194.33.34
173.194.33.35
173.194.33.36
173.194.33.32

IPv6 地址去哪儿了?

编辑:如果我对"localhost"输出使用相同的代码进行相同的查找:

0000:0000:0000:0000:0000:0000:0000:0001
127.0.0.1

这更让人头疼。

4

0 回答 0