Back to Libwebsockets

README

minimal-examples-lowlevel/raw/README.md

4.5.8879 B
Original Source
namedemonstrates
minimal-raw-adopt-tcpShows how to have lws adopt an existing tcp socket something else had connected
minimal-raw-adopt-udpShows how to create a udp socket and read and write on it
minimal-raw-fallback-httpShows how to run a normal http(s) server that falls back to a specified role + protocol
minimal-raw-fileShows how to adopt a file descriptor (device node, fifo, file, etc) into the lws event loop and handle events
minimal-raw-netcatWrites stdin to a remote server and prints results on stdout
minimal-raw-proxy-fallbackShows how to run a normal http(s) server that falls back to a proxied connection to a specified IP and port
minimal-raw-proxyShows how to set up a vhost so it listens for connections and proxies them to a specified IP and port
minimal-raw-vhostShows how to set up a vhost that listens and accepts RAW socket connections