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

Attempts to parse the printable form of the IP address in the parameter hostName and sets the host field in the address parameter if successful. @param address destination to store the parsed IP address @param hostName IP address to parse @retval 0 on success @retval < 0 on failure @returns the address of the given hostName in address on success