socket.getnameinfo(sockaddr, flags)
Translate a socket address sockaddr into a 2-tuple (host, port)
. Depending on the settings of flags, the result can contain a fully-qualified domain name or numeric address representation in host. Similarly, port can contain a string port name or a numeric port number.
Please login to continue.