Python Getaddrinfo Example