yasio

A multi-platform support c++11 library with focus on asio (asynchronous socket I/O) for any client applications.

OTHER License

Stars
905

Bot releases are visible (Hide)

yasio - yasio-3.39.1

Published by halx99 almost 3 years ago

CHANGELOG

  • Don't output transport object address
yasio - yasio-3.39.0

Published by halx99 almost 3 years ago

CHANGELOG

  1. Improve binary reader and writer, the push/pop API was broken, use -DYASIO_OBS_BUILTIN_STACK=1 for compatible with previous releease
  2. Improve stop flow, always try do stop at io_service destructor
yasio - yasio-3.37.8

Published by halx99 almost 3 years ago

CHANGELOG

  1. Fix trasnport reuse problem
  2. Unify transport address print format

All users should update immediately.

yasio - yasio-3.37.7

Published by halx99 almost 3 years ago

CHANGELOG

  1. Fix connnect maybe always failed with error -26 when last domain name resolving failed
  2. Fix xxsocket::strerror incorrect for MinGW
  3. Add UWP ci
  4. Improve io_service::stop flow, thanks to @koobin
  5. Other code improvements
yasio - yasio-3.37.6

Published by halx99 almost 3 years ago

  1. Add option YOPT_S_DNS_LIST to set custom dns servers build with c-ares
  2. Add OpenSSL 3.0.0 support
  3. Add better API ip::endpoint::format_to to format socket address to string
  4. Add API ip::endpoint::scope_id to set or get ipv6 scope_id
  5. Improve ip::endpoint::as_xx for parsing scope_id from ipv6 string
  6. Add MinGW build support
  7. Fix compile issue when build inside unreal engine with module TraceAnalysis
  8. Fix timer queue not sort when same timer's expire time was modified, thanks to @koobin
  9. Fix the len of ip::endpoint not set when update endpoint ip with ip::endpoint::ip, will cause error 10014 on windows
  10. Make ibstream_view can construct with basic_obstream_view
  11. Improve xxsocket::disconnect platform compatible for BSD-like systems and windows
  12. Imporve multicast support, and the test case works on windows,linux,macOS, thanks to @wzhengsen
  13. Add option YOPT_C_MCAST_IF to set multicast interface, on BSD-like system, it's required for ipv6
  14. Improve io_service::stop flow, thanks to @koobin
yasio - yasio-3.37.5

Published by halx99 about 3 years ago

yasio - DNT use, for researching ONLY

Published by halx99 over 4 years ago

yasio - v3.30.0

Published by halx99 almost 5 years ago

yasio - v3.26.0

Published by halx99 almost 5 years ago

  1. Rename macro YASIO_HAVE_KCP to YASIO_ENABLE_KCP and move to config.hpp.
  2. Rename macro _USING_OBJECT_POOL to YASIO_DISABLE_OBJECT_POOL and move to config.hpp.
  3. Add macro YASIO_DISABLE_SPSC_QUEUE to control whether disable single-producer, single-consumer lock-free queue.
  4. Change io_event_cb_t parameter to rval reference.
yasio -

Published by halx99 about 5 years ago

yasio -

Published by halx99 about 5 years ago

Minor improve robustness of io_service::set_option API & avoid buffer deep copy at io_service::write

yasio - v3.23.6

Published by halx99 about 5 years ago

  1. Fix jsb & jsb20 compile issue.
  2. Rename native interface yasio_close2 to yasio_close_handle
  3. Support detect whether ipv6 supported at android platform.
  4. Use dual event queue to avoid block recv operation when consumer thread do Long-Running Operations at event callback.
  5. Remove specific vs project files, use cmake instead.
yasio - v3.23.3f1

Published by halx99 about 5 years ago

yasio - v3.23.3

Published by halx99 about 5 years ago

  1. Unify optional macro YASIO_VERBOS_LOG.
  2. Rename stimer::killAll to stimer::clear.
yasio - v3.23.2

Published by halx99 about 5 years ago

yasio-3.23.2

  1. Add ifaddrs implementation for android.
  2. Tidy in4 loopback & linklocal detect sources.
yasio - v3.23.1

Published by halx99 about 5 years ago

  1. Fix UDP EPERM issue.
  2. Add option: YOPT_PRINT_FN.
  3. Remove option: YOPT_LOG_FILE and YOPT_CONSOLE_PRINT_FN.
yasio - v3.23.0

Published by halx99 about 5 years ago

  1. Make length field based frame decode associate with channel.
  2. Make decode length function associate with channel.
  3. Make transport send,flush as private for internal use.
  4. Change channel default length decode behavior to directly.
  5. Rename YOPT_RESOLV_FUNCTION to YOPT_RESOLV_FN.
  6. Rename YOPT_CONSOLE_PRINT_FUNCTION to YOPT_CONSOLE_PRINT_FN.
  7. Rename YOPT_DECODE_FRAME_LENGTH_FUNCTION to YOPT_CHANNEL_LFBFD_FN.
  8. Rename YOPT_LFBFD_PARAMS to YOPT_CHANNEL_LFBFD_PARAMS.
  9. Rename YOPT_IO_EVENT_CALLBACK to YOPT_IO_EVENT_CB.
yasio -

Published by halx99 about 5 years ago

yasio -

Published by halx99 over 5 years ago

yasio - Move portable string_view from namespace yasio to cxx17

Published by halx99 over 5 years ago