aboutsummaryrefslogtreecommitdiff
path: root/demo/async
Commit message (Collapse)AuthorAge
* demos: Demos do not need to use find_package for ThreadsGarrett D'Amore2025-01-01
| | | | | The CMAKE framework does this properly now by ensuring that nng uses nng_find_package for any of its own dependencies.
* demos: raw and async demos should use nng_initGarrett D'Amore2025-01-01
|
* socket: rename nng_close to nng_socket_closeGarrett D'Amore2024-12-31
|
* Enhance demo/async/ to allow async dial by clientBrian Carcich2024-12-31
| | | | | | | | | | demo/async/client.c - Enable client, on dial, to wait for server that has not yet started demo/async/arun.sh - Run async demo with arbitrary start order of server wrt clients
* 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.
* typozheng shuyuan2023-08-23
| | | change message to function name
* update demos to not use deprecated functions (#1531)Edward Rudd2021-11-27
|
* Use env shebangs everywhere (#1515)Leonard Pollak2021-10-26
| | | | Change all shebangs to use '#!/usr/bin/env bash'. This increases portability to platforms which do not cohere to the FHS.
* Fix error checkstromgy2020-02-13
| | | | Most error codes in `nng_errno_enum` are positve values, so the existing error check would not catch something like `NNG_ECONNREFUSED`.
* Remove redundant <sys/time.h> include. It is not used but prevents demos ↵Evgeny Kravchenko2019-06-27
| | | | from being compiled on Windows.
* fixes #486 Revisit SOVERSION and VERSIONGarrett D'Amore2018-05-25
| | | | | | | | | | | | | | | | | | | | | | fixes #485 Honor BUILD_SHARED_LIBS fixes #483 Don't expose private symbols in shared library fixes #481 Export CMake target This is a "large" commit involving changes that don't affect the code directly, but which have an impact on how we package and build our project. The most significant of these changes is that we now build only either a shared or a static library, depending on the setting of the BUILD_SHARED_LIBS option. We also suppress private symbols from being exposed when the underlying toolchain lets us do so. Minor updates to the way we version the ABI are used, and we now have a nice exported CMake project. To import this project in another, simply do find_package(nng) and you can add target_link_libraries(nng::nng) to your targets. CMake does the rest for you.
* Use contexts for new async demo.Garrett D'Amore2018-04-12
|
* fixes #284 want async demoGarrett D'Amore2018-03-12