NT_SetServerMulti

Function NT_SetServerMulti 

Source
pub unsafe extern "C" fn NT_SetServerMulti(
    inst: NT_Inst,
    count: usize,
    server_names: *const WPI_String,
    ports: *const u32,
)
Expand description

Sets server addresses for client (without restarting client). The client will attempt to connect to each server in round-robin fashion.

ยงParameters

  • inst: Instance handle.
  • count: Length of the server_names and ports arrays.
  • server_names: Array of server names (each a UTF-8 string, null-terminated).
  • ports: Array of ports to communicate over (one for each server).