Function enet_sys::enet_address_set_host [] [src]

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

@defgroup Address ENet address functions @{ / /** Attempts to resolve the host named by the parameter hostName and sets the host field in the address parameter if successful. @param address destination to store resolved address @param hostName host name to lookup @retval 0 on success @retval < 0 on failure @returns the address of the given hostName in address on success