def getaddrinfo(host, port, family=0, socktype=0, proto=0, flags=0):
 return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags)

def getaddrinfo ( host , port , family = 0 , socktype = 0 , proto = 0 , flags = 0 ) : return get_hub ( ) . resolver . getaddrinfo ( host , port , family , socktype , proto , flags )
resolve host and port into list of address info entries .