Function psp::sys::sceNetResolverStartNtoA

source ·
#[no_mangle]
pub unsafe extern "C" fn sceNetResolverStartNtoA(
    rid: i32,
    hostname: *const u8,
    addr: *mut in_addr,
    timeout: u32,
    retry: i32
) -> i32
Expand description

Begin a name to address lookup

§Parameters

  • rid: Resolver id
  • hostname: Name to resolve
  • addr: Pointer to in_addr structure to receive the address
  • timeout: Number of seconds before timeout
  • retry: Number of retires

§Return Value

0 on success, < 0 on error