protocol dependent and independent inet_ntop