Function ctru_sys::svcCreatePort

source ·
pub unsafe extern "C" fn svcCreatePort(
    portServer: *mut Handle,
    portClient: *mut Handle,
    name: *const c_char,
    maxSessions: s32
) -> Result
Expand description

Creates a port.

§Arguments

  • portServer (direction out) - Pointer to output the port server handle to.
  • portClient (direction out) - Pointer to output the port client handle to.
  • name - Name of the port.
  • maxSessions - Maximum number of sessions that can connect to the port.