dont use inet_pton, inet_ntop which requires windows vista+