1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/ws-client
Andy Green 36ec353dac client: allow setting overall connect timeout from vh init
Add a member to the vh init struct allowing control of the overall
connection wait introduced in an earlier patch.  Set it to 20s
by default.


The timeout_secs member controls the individual DNS result
connect timeout and is reduced to 5s by default.
2020-05-26 17:05:39 +01:00
..
minimal-ws-client windows: clean LWS_WITH_MINIMAL_EXAMPLES warnings 2020-04-07 10:09:51 +01:00
minimal-ws-client-echo cleaning 2020-01-05 22:17:58 +00:00
minimal-ws-client-ping windows: pthreads 2020-04-07 14:05:21 +01:00
minimal-ws-client-pmd-bulk windows: clean LWS_WITH_MINIMAL_EXAMPLES warnings 2020-04-07 10:09:51 +01:00
minimal-ws-client-rx client: allow setting overall connect timeout from vh init 2020-05-26 17:05:39 +01:00
minimal-ws-client-spam CTest: migrate and deprecate existing selftest scripts 2020-05-11 15:40:13 +01:00
minimal-ws-client-tx windows: pthreads 2020-04-07 14:05:21 +01:00
README.md minimal examples: ws client demonstrating retry and backoff 2020-02-04 14:16:18 +00:00

name demonstrates
minimal-ws-client Simple client that connects to libwebsockets.org dumb increment protocol and demonstrates retry and backoff
minimal-ws-client-echo Simple client that connects to a ws server and echos anything the server sends
minimal-ws-client-ping Ws ping test client
minimal-ws-client-pmd-bulk Client that sends bulk multifragment data to the minimal-ws-server-pmd-bulk example
minimal-ws-client-rx Connects to the dumb-increment-protocol wss server at https://libwebsockets.org and demonstrates receiving ws data
minimal-ws-client-spam Spams ws connections in parallel to a server for stability testing
minimal-ws-client-tx Connects to the minimal-ws-broker example as a publisher, demonstrating sending ws data