* if inet_pton() fails it returns <= 0