NT_SetServer

Function NT_SetServer 

Source
pub unsafe extern "C" fn NT_SetServer(
    inst: NT_Inst,
    server_name: *const WPI_String,
    port: u32,
)
Expand description

Sets server address and port for client (without restarting client).

ยงParameters

  • inst: Instance handle.
  • server_name: Server name (UTF-8 string, null-terminated).
  • port: Port to communicate over.