Function ntcore_sys::NT_StartServer [] [src]

pub unsafe extern "C" fn NT_StartServer(
    inst: NT_Inst,
    persist_filename: *const c_char,
    listen_address: *const c_char,
    port: c_uint
)

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

@param inst instance handle @param persist_filename the name of the persist file to use (UTF-8 string, null terminated) @param listen_address the address to listen on, or null to listen on any address. (UTF-8 string, null terminated) @param port port to communicate over.