#pragma once struct hostent { char *h_name; char **h_aliases; int h_addrtype; int h_length; char **h_addr_list; }; struct hostent *gethostbyname(const char *name);