pub unsafe extern "C" fn sceNetAdhocctlCreateEnterGameMode(
    name: *const u8,
    unknown: i32,
    num: i32,
    macs: *mut u8,
    timeout: u32,
    unknown2: i32
) -> i32
Expand description

Connect to the Adhoc control game mode (as a host)

Parameters

  • name: The name of the connection (maximum 8 alphanumeric characters).
  • unknown: Pass 1.
  • num: The total number of players (including the host).
  • macs: A pointer to a list of the participating mac addresses, host first, then clients.
  • timeout: Timeout in microseconds.
  • unknown2: pass 0.

Return Value

0 on success, < 0 on error.