Code

no need to initialize result ptr of getaddrinfo