# hostent - [Overview](#section862259847165636) - [Summary](#section75161095165636) - [Data Fields](#pub-attribs) - [Details](#section1086710868165636) - [Field](#section298257867165636) - [h\_addr\_list](#a4ff8499f29c5111435d6ed4adccfb621) - [h\_addrtype](#a405ebb31a6922898809635b03f0faf06) - [h\_aliases](#ac266a0b528443e9479f2d8e1680b5e78) - [h\_length](#ab9db18bfcc6adfc9c944b0c06ec2dccc) - [h\_name](#a439d6e5efa18bc14aab63b14a12ae371) ## **Overview** **Related Modules:** [NET](net.md) **Description:** Describes the host name and address information. ## **Summary** ## Data Fields

Variable Name

Description

h_name

char *

h_aliases

char **

h_addrtype

int

h_length

int

h_addr_list

char **

## **Details** ## **Field ** ## h\_addr\_list ``` char** hostent::h_addr_list ``` **Description:** A pointer to an array of pointers to host addresses ## h\_addrtype ``` int hostent::h_addrtype ``` **Description:** IP address type ## h\_aliases ``` char** hostent::h_aliases ``` **Description:** A pointer to an array of pointers to alternative host names ## h\_length ``` int hostent::h_length ``` **Description:** Address length ## h\_name ``` char* hostent::h_name ``` **Description:** A pointer to the host name