Function ntcore_sys::NT_SetServer [] [src]

pub unsafe extern "C" fn NT_SetServer(
    inst: NT_Inst,
    server_name: *const c_char,
    port: c_uint
)

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

@param inst instance handle @param server_name server name (UTF-8 string, null terminated) @param port port to communicate over