PyDocs

Nav

Networking and Interprocess Communication

gethostbyname_ex

socket

functionnot WASI
  • gethostbyname_ex(hostname)
gethostbyname_ex(host) -> (name, aliaslist, addresslist)

Return the true host name, a list of aliases, and a list of IP addresses,
for a host.  The host argument is a string giving a host name or IP number.
0 Examples
No examples for socket/gethostbyname_ex.
See Also
No see-alsos for socket/gethostbyname_ex
0 Notes
No notes for gethostbyname_ex