KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
hostent Struct Reference

Network host entry. More...

#include <netdb.h>

Data Fields

char * h_name
 Official name of the host.
 
char ** h_aliases
 Alternative host names.
 
int h_addrtype
 Address type.
 
int h_length
 Length of address, in bytes.
 
char ** h_addr_list
 Network addresses of host.
 

Detailed Description

Network host entry.

This structure describes a network host entry in the address database. When looking up an address with the gethostbyname() function, one of these will be returned with information about the host.

Field Documentation

◆ h_addr_list

char** hostent::h_addr_list

Network addresses of host.

◆ h_addrtype

int hostent::h_addrtype

Address type.

◆ h_aliases

char** hostent::h_aliases

Alternative host names.

◆ h_length

int hostent::h_length

Length of address, in bytes.

◆ h_name

char* hostent::h_name

Official name of the host.


The documentation for this struct was generated from the following file: