mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
![]() 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. |
||
---|---|---|
.. | ||
minimal-ws-client | ||
minimal-ws-client-echo | ||
minimal-ws-client-ping | ||
minimal-ws-client-pmd-bulk | ||
minimal-ws-client-rx | ||
minimal-ws-client-spam | ||
minimal-ws-client-tx | ||
README.md |
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 |