#[no_mangle]
pub unsafe extern "C" fn nstd_net_tcp_server_accept(
    server: NSTDTCPServer
) -> NSTDTCPStream
Expand description

Accepts a connection on the TCP server. Call nstd_net_tcp_stream_close to free memory allocated by this function and close the connection. Parameters: NSTDTCPServer server - The TCP server. Returns: NSTDTCPStream client - The server<=>client stream.