aboutsummaryrefslogtreecommitdiff
path: root/demo/raw
Commit message (Collapse)AuthorAge
* api: rename nng_send_aio and nng_recv_aio to nng_socket_send and nng_socket_recvGarrett D'Amore2025-01-04
| | | | This aligns more closely with the nng_ctx functions.
* 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
|
* 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.
* update demos to not use deprecated functions (#1531)Edward Rudd2021-11-27
|
* 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 #612 demo/raw needs updating to use raw socket constructorGarrett D'Amore2018-08-06
|
* 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