March 2003
Intermediate to advanced
656 pages
39h 30m
English
gethostbyaddr
gethostbyaddr(ipaddr)Returns a tuple with three items
(
hostname,
alias_list,
ipaddr_list
).
hostname is a string, the primary name of
the host whose IP dotted-quad address you pass as string
ipaddr.
alias_list is a list of
0 or more alias names for the host.
ipaddr_list is a list of one or more
dotted-quad addresses for the host.