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 d3308df40f windows: pthreads
Add support for external pthreads lib on windows and some docs about how to do.

It can build with LWS_WITH_THREADPOOL and LWS_WITH_MINIMAL_EXAMPLES including the
pthreads-dependent ones without warnings or errors on windows platform as well with this.

pthreads_t can be anything, including a struct - not a pointer-to-a-struct
but the struct itself.  These can't be cast to a void * for printing as they can
on linux, where the base type is a pointer.

Let's fix all the usage of those to determine their own thread index in terms
of the meaning to the program rather than as a tid.
2020-04-07 14:05:21 +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 cleaning 2020-01-05 22:17:58 +00:00
minimal-ws-client-spam windows: pthreads 2020-04-07 14:05:21 +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