Commits on Source (2)
-
Steve Lhomme authored
Define the ENOPROTOOPT if it's not set. It should be set on POSIX and Windows systems.
8a3a546a -
Steve Lhomme authored
inet_ntop() can return 0, 1 or -1. [1] What we are checking here is that's it's not a valid IP address, so that the return value is not 1. [1] https://linux.die.net/man/3/inet_pton
7cba1630