• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

README.mdH A D01-Jan-1970745 3122

minimal-ws-server-echo.cH A D01-Jan-19703.1 KiB11979

protocol_lws_minimal_server_echo.cH A D01-Jan-19705.6 KiB233168

README.md

1# lws minimal ws server + permessage-deflate echo
2
3This example serves no-protocl-name ws on localhost:7681
4and echoes back anything that comes from the client.
5
6You can use it for testing lws against Autobahn (use the
7-p option to tell it to listen on 9001 for that)
8
9## build
10
11```
12 $ cmake . && make
13```
14
15## usage
16
17Commandline option|Meaning
18---|---
19-d <loglevel>|Debug verbosity in decimal, eg, -d15
20-p port|Port to connect to
21-u url|URL path part to connect to
22-o|Finish after one connection
23
24```
25 $ ./lws-minimal-ws-server-echo
26[2018/04/24 10:29:34:6212] USER: LWS minimal ws server echo + permessage-deflate + multifragment bulk message
27[2018/04/24 10:29:34:6213] NOTICE: Creating Vhost 'default' port 7681, 1 protocols, IPv6 off
28...
29```
30
31