aboutsummaryrefslogtreecommitdiff
path: root/demo/stream
Commit message (Collapse)AuthorAge
* Fix typos across docs, comments, and CMakemochalins2025-06-02
|
* stream demo: fix compilation, add server modeGarrett D'Amore2025-01-01
| | | | This is tested and shown to work now.
* demos: bump cmake version required to 3.15Garrett D'Amore2024-12-29
| | | | | | | This fixes problems finding the threads library. There may still be problems building these with TLS libraries added, as those dependencies may not be satisfied if the library lacks a cmake configuration file.
* streams: add explicit stop functionsGarrett D'Amore2024-12-12
| | | | | | | | | | | | This allows us to explicitly stop streams, dialers, and listeners, before we start tearing down things. This hopefully will be useful in resolving use-after-free bugs in http, tls, and websockets. The new functions are not yet documented, but they are nng_stream_stop, nng_stream_dialer_stop, and nng_stream_listener_stop. They should be called after close, and before free. The close functions now close without blocking, but the stop function is allowed to block.
* Add a nng_stream example paired with a socket server on win/linuxHugo Lindström2024-01-01