Function ntcore_sys::NT_SetServerMulti
[−]
[src]
pub unsafe extern "C" fn NT_SetServerMulti(
inst: NT_Inst,
count: usize,
server_names: *mut *const c_char,
ports: *const c_uint
)
Sets server addresses for client (without restarting client). The client will attempt to connect to each server in round robin fashion.
@param inst instance handle @param count length of the server_names and ports arrays @param server_names array of server names (each a UTF-8 string, null terminated) @param ports array of ports to communicate over (one for each server)