Many times we use the ADB to connect the Android simulator to debug the network program, perhaps you can directly access the browser, browse the site, but can not ping the same network of a machine, such as:
# ping Www.sina.com
PING puppis.sina.com.cn (221.236.31.210) bytes of data.
^c
---puppis.sina.com.cn ping statistics---
4 packets transmitted, 0 received, 100% packet loss, time 3001ms
Some say that the simulator in the 10.x.x problem, but if it is a network segment problem, will not visit the site.
I grabbed a packet, verify, whether it is the simulator shielding the bottom of the function, do not grasp do not know, a grasp to know, the simulator to the ICMP protocol type wrong, it should be 0x1, the result became a 0x11,
Of course, the packet from ICMP to UDP, I believe that no server will be on the echo port of UDP listening it.
It seems Google is not too strict on the Internet Protocol:)
The Android emulator cannot ping the host