NT_StartServer

Function NT_StartServer 

Source
pub unsafe extern "C" fn NT_StartServer(
    inst: NT_Inst,
    persist_filename: *const WPI_String,
    listen_address: *const WPI_String,
    port3: u32,
    port4: u32,
)
Expand description

Starts a server using the specified filename, listening address, and port.

ยงParameters

  • inst: Instance handle.
  • persist_filename: The name of the persist file to use (UTF-8 string, null-terminated).
  • listen_address: The address to listen on, or null to listen on any address (UTF-8 string, null-terminated).
  • port3: Port to communicate over (NT3).
  • port4: Port to communicate over (NT4).