V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  clowwindy  ›  全部回复第 21 页 / 共 111 页
回复总数  2212
1 ... 17  18  19  20  21  22  23  24  25  26 ... 111  
2014-08-11 00:00:16 +08:00
回复了 matrix32767 创建的主题 问与答 0x000000017.0x0e7.000330.0x000060 这是个什么域名?
读了一下 inet_aton 的源码(https://android.googlesource.com/platform/bionic/+/donut-release/libc/inet/inet_aton.c),好像挺宽松的,发现了一些有趣的玩法:

$ ping 127.1
PING 127.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.054 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.077 ms

$ ping "0x08080808 hello world"
PING 0x08080808 hello world (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=45 time=354.877 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=45 time=586.866 ms
1 ... 17  18  19  20  21  22  23  24  25  26 ... 111  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2265 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms · UTC 02:35 · PVG 10:35 · LAX 19:35 · JFK 22:35
Developed with CodeLauncher
♥ Do have faith in what you're doing.