nstd_net_tcp_server_bind

Function nstd_net_tcp_server_bind 

Source
pub unsafe extern "C" fn nstd_net_tcp_server_bind(
    addr: *const c_char,
) -> NSTDTCPServer
Expand description

Creates a TCP server bound to the given address. Call nstd_net_tcp_server_close to free memory allocated by this function and close the server. Parameters: const char *const addr - The address to listen on, formatted as “IP:Port”. Returns: NSTDTCPServer server - The TCP server, null on error.