[][src]Function enet_sys::enet_address_get_host

pub unsafe extern "C" fn enet_address_get_host(
    address: *const ENetAddress,
    hostName: *mut c_char,
    nameLength: usize
) -> c_int

Attempts to do a reverse lookup of the host field in the address parameter. @param address address used for reverse lookup @param hostName destination for name, must not be NULL @param nameLength maximum length of hostName. @returns the null-terminated name of the host in hostName on success @retval 0 on success @retval < 0 on failure