The HOSTENT structure is returned by the GETHOSTBYADDR and GETHOSTBYNAME function calls.
|
Field |
Description |
|---|---|
|
Hostname |
Address of hostname (null-terminated string) |
|
Aliases |
Address of a zero-terminated array of pointers to aliases, which are null-terminated strings |
|
Address type |
Address family of returned IP addresses (AF_INET or AF_INET6) |
|
Address length |
Length of returned IP addresses |
|
Addresses |
Address of a zero-terminated array of pointers to IP addresses |
|
Copyright © 2014 CA.
All rights reserved.
|
|