std1.0.0-beta-7 SafeC docs

std :: http::websocket

Function std::ws_listen

#include <std/http/websocket.h> source ยท definition

int ws_listen(unsigned short port)

Creates a blocking listening socket on 'port'. Returns the fd, or -1 on failure.