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 hidden (Show)

yasio -

Published by halx99 almost 6 years ago

  1. Add Lua bindings support
  2. C++17 Luabinding: https://github.com/ThePhD/sol2
  3. C++11 Luabinding: https://github.com/satoren/kaguya
  4. Add uint24 type encode/decode support
  5. Fix compiling errors & warnings for GCC,Clang compilers
  6. Deep integration binary stream encode/decode, and export to Lua
  7. Update protocol autogen tool for new lua bindings
  8. Remove set_callbacks, only need set event callback at start_service
  9. Remove game engine specific code
yasio - Luabinding support & other features

Published by halx99 almost 6 years ago

  1. Add Lua bindings with sol2 support, see https://github.com/halx99/mini-asio/blob/master/test/test/luatest.xsxproj
  2. Remove game engine specific code
  3. Upgrade c++ require standard to c++17
  4. Deep integration binary stream encode/decode, and export to Lua
  5. Update protocol autogen tool for new lua bindings
  6. Remove set_callbacks, only need set event callback at start_service.
yasio -

Published by halx99 almost 6 years ago

  1. Improve set_option implement, use va_list for more options
  2. Add tcp keepalive support, option: MASIO_OPT_TCP_KEEPALIVE
  3. Add custom resolve function support, option: MASIO_OPT_RESOLV_FUNCTION
yasio -

Published by halx99 about 6 years ago

  1. Use event queue to ensure io event sequence produced by the async io service.
  2. Remove unused callback 'threadsafe_call'
  3. Rename some APIs
yasio - 3.3

Published by halx99 about 6 years ago

  1. Improve server support
  2. Add dns cache timeout support.
  3. Fix Error: 10057, when start with 2 channels.
  4. Add getaddrinfo_thread async domain resolve support.
  5. Rename some API.
yasio - UDP support

Published by halx99 over 6 years ago

yasio - Add multi channel support

Published by halx99 over 6 years ago

  1. Support multi-channels at on thread service.
  2. Async reconnect support
  3. Optimize log for cross platform
  4. Optimize log for cocos2d, avoid crash
  5. Optimize unpack logic
  6. Avoid buffer attack
  7. Integrate c-ares support, macro: _USE_ARES_LIB, default value is 0
  8. Add macros to control whether use object pool, shared_ptr and enable send callback
  9. Fix shutdown can't close connection.
yasio - Just a optimize version.

Published by halx99 over 6 years ago

Don't use master, 3.0 developing is in progress.

yasio - 2.3.9

Published by halx99 about 7 years ago

1.Rename xxsocket::release to xxsocket::detach
2.Fix socket_select_interrupt socket ops error.
3.Optimize object_pool implementation.

yasio - Optimize, no need to call select, wait d is 0

Published by halx99 over 7 years ago

Avoid uncessary socker.select call when wait duration is ZERO

yasio - Optimize select call when busy.

Published by halx99 over 7 years ago

Optimize, Immediately, If there is still have data to read, no need t call select,
However, the connection exception will detected through do_read or do_write, but it's ok.

yasio -

Published by halx99 about 8 years ago

yasio - fix timer priority.

Published by halx99 about 8 years ago

yasio -

Published by halx99 about 8 years ago

yasio - please upgrade to use this release.

Published by halx99 about 8 years ago