1 # lws minimal ws client rx
11 The application goes to https://libwebsockets.org and makes a wss connection
12 using the dumb-increment-protocol. It shows the incrementing number it is
13 being sent over ws as it arrives.
15 This example only receives things to keep it simple. See minimal-ws-client-tx
16 for code related to sending things. Of course rx and tx are supported in the
20 ./lws-minimal-ws-client-rx
21 [2018/03/14 11:57:24:0689] USER: LWS minimal ws client rx
22 [2018/03/14 11:57:24:0705] NOTICE: Creating Vhost 'default' port -1, 1 protocols, IPv6 off
23 [2018/03/14 11:57:24:0710] NOTICE: created client ssl context for default
24 [2018/03/14 11:57:24:0788] NOTICE: lws_client_connect_2: 0x15b8310: address libwebsockets.org
25 [2018/03/14 11:57:24:7643] NOTICE: lws_client_connect_2: 0x15b8310: address libwebsockets.org
26 [2018/03/14 11:57:26:9191] USER: RX: 0
27 [2018/03/14 11:57:26:9318] USER: RX: 1
28 [2018/03/14 11:57:27:2182] USER: RX: 2
29 [2018/03/14 11:57:27:2336] USER: RX: 3
30 [2018/03/14 11:57:27:2838] USER: RX: 4
31 [2018/03/14 11:57:27:5173] USER: RX: 5
32 [2018/03/14 11:57:27:5352] USER: RX: 6
33 [2018/03/14 11:57:27:5854] USER: RX: 7
34 [2018/03/14 11:57:27:8156] USER: RX: 8
35 [2018/03/14 11:57:27:8359] USER: RX: 9
36 ^C[2018/03/14 11:57:27:9884] USER: Completed