1# lws minimal ws broker 2 3## build 4 5``` 6 $ cmake . && make 7``` 8 9## usage 10 11``` 12 $ ./lws-minimal-ws-broker 13[2018/03/15 12:23:12:1559] USER: LWS minimal ws broker | visit http://localhost:7681 14[2018/03/15 12:23:12:1560] NOTICE: Creating Vhost 'default' port 7681, 2 protocols, IPv6 off 15``` 16 17Visit http://localhost:7681 on multiple browser windows 18 19The page opens a subscribe mode ws connection back to the broker, 20and a publisher mode ws connection back to the broker. 21 22The textarea shows the data from the subscription connection. 23 24If you type text is in the text box and press send, the text 25is passed to the broker on the publisher ws connection and 26sent to all subscribers. 27