3 ms·
> I believe inet_pton() dropped octal and hex support for ipv4 addresses Correct. It also doesn't support truncation unlike inet_aton. e.g. inet_aton consider
by secondcoming 6y ago
> I believe inet_pton() dropped octal and hex support for ipv4 addresses
Correct.
It also doesn't support truncation unlike inet_aton. e.g. inet_aton considers "1.2.3" and "1.2.0.3" to be the same address.