A multi-platform support c++11 library with focus on asio (asynchronous socket I/O) for any client applications.
yasio::byte_buffer
just a alias of itFull Changelog: https://github.com/yasio/yasio/compare/v4.1.0...v4.1.1
yasio_create_service
prototype to: YASIO_NI_API void* yasio_create_service(int channel_count, void(YASIO_INTEROP_DECL* event_cb)(yasio_event_data* event), void* user);
Full Changelog: https://github.com/yasio/yasio/compare/v4.0.0...v4.1.0
YOPT_S_DEFERRED_EVENT
to YOPT_S_NO_DISPATCH
, and the default event dispatch behavior was changed,
by default, the network thread will always dispatch events at end of event loop. you must set YOPT_S_NO_DISPATCH
to 1
to
ensure the dispatch behavior match with previous releasesYOPT_S_DEFER_EVENT_CB
return check changed, return true
to tell io_service the event already processed, io_service will
skip processed
event, previous releases should return false
YASIO_HAVE_
to YASIO_ENABLE_XXX
, YASIO_HAVE_CARES
to YASIO_USE_CARES
epoll/wepoll
, kqueue
, evport
support by YASIO_ENABLE_HPERF_IO
, by default not enabledyasio::gc
object_pool
and singleton
YASIO_BUILD_WITH_LUA
--> YASIO_ENABLE_LUA
YASIO_BUILD_WITH_CCLUA
--> YASIO_ENABLE_CCLUA
YAISO_BUILD_NI
--> YASIO_ENABLE_NI
YASIO_BUILD_TESTS
and YASIO_BUILD_LUA_EXAMPLE
when yasio
not in root directory of cmake projectyasio/
which are allow include directly, like yasio/xxx.hpp
, private header to yasio/impl/
which don't allow been included408fe14
to 1f49f40
by @dependabot in https://github.com/yasio/yasio/pull/401
ea30362
to f87ebde
by @dependabot in https://github.com/yasio/yasio/pull/410
b99edc8
to 1ee8315
by @dependabot in https://github.com/yasio/yasio/pull/420
Full Changelog: https://github.com/yasio/yasio/compare/v3.39.7...v4.0.0
Full Changelog: https://github.com/yasio/yasio/compare/v3.39.11...v3.39.12