#[repr(C)]pub struct hostent {
pub h_name: *mut c_char,
pub h_aliases: *mut *mut c_char,
pub h_addrtype: c_int,
pub h_length: c_int,
pub h_addr_list: *mut *mut c_char,
}
Fields
h_name: *mut c_char
h_aliases: *mut *mut c_char
h_addrtype: c_int
h_length: c_int
h_addr_list: *mut *mut c_char