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 - Add header only support for core implementation(c++)

Published by halx99 over 5 years ago

yasio - v3.22.0

Published by halx99 over 5 years ago

  1. Add kcp support.
  2. Change obstream.pop behavoir, see: https://github.com/halx99/yasio/wiki/obstream#Encapsulate-Packet
  3. Remove unused send timeout.
  4. Remove duplicated macro YOPT_CONNECT_TIMEOUT for script bindings.
yasio - Add yasio_memcpy for YASIO_NI, because C# no such function yet.

Published by halx99 over 5 years ago

yasio - Fix tcp keepalive option behavior is incorrect

Published by halx99 over 5 years ago

yasio -

Published by halx99 over 5 years ago

yasio-3.21.1

  1. Fix connection handle_close detect problem.
  2. Add YASIO_NI API: yasio_set_console_print_fn.
yasio -

Published by halx99 over 5 years ago

  1. Fix start_service/stop_service can't work properly at twice.
  2. Add native interface for interop with other languages, such as C#
  3. Fix lua5.2 or lua5.3 for c++11 compile error.
  4. Make transport pointer more safe for Native Interface.
  5. Change script API: ibstream.read_v, obstream.write_v default behavior to use 7bit encoded int as length field.
  6. Remove script API: ibstream.read_string, obstream.write_string
  7. Add YASIO_NI API: yasio_set_resolv_fn to set custom dns resolver, such as httpdns
yasio - v3.20.1

Published by halx99 over 5 years ago

  1. Add script API: yasio.highp_clock
  2. Add script API: yasio.highp_time
  3. Add script API: yasio.ibstream.length
  4. Add script API: yasio.ibstream.seek
  5. Add script API: yasio.io_event.timestamp
  6. Fix SIGBUS issue
  7. Add script API: yasio.io_service.is_open
  8. Fix many ci warnings
yasio - Improve script binary encode/decode capability.

Published by halx99 over 5 years ago

  1. Add write_v/read_v for jsb & luabindings.
  2. Add write_bytes/read_bytes for jsb & luabindings.
  3. Unify vs project files.
  4. Use pure lua table instead userdata io_hostent.
  5. Rename io_event.channel_index to cindex.
  6. Add io_service.close for script bindings.
  7. Rename io_event.take_packet to packet for script bindings.
  8. Improve script binary encode/decode capability.
  9. Remove io_hostent userdata for luabindings, use simple lua table instead.
yasio -

Published by halx99 over 5 years ago

  1. Fix connection lost error report when decode frame length failed.
  2. Add ArrayBuffer support for jsb & jsb20.
yasio -

Published by halx99 over 5 years ago

yasio -

Published by halx99 over 5 years ago

yasio -

Published by halx99 over 5 years ago

yasio -

Published by halx99 over 5 years ago

yasio -

Published by halx99 over 5 years ago

  1. [BugFix] Avoid luaopen_yasio_cclua affect lua stack.
  2. [Feature] Add option: YOPT_NO_NEW_THREAD.
  3. [Improve] Add option: YOPT_CHANNEL_REMOTE_ENDPOINT.
  4. [BugFix] Fix can't close exist transport at open channel.
  5. [BugFix] Fix the options can't be initialized at vs2013.
  6. [Improve] Tidy and rename macros.
  7. [Improve] Optimize API open,reopen.
  8. [Improve] Optimize timer API.
  9. [Improve] Optimize file log, use posix non-buffer API.
  10. [Improve] Store last read/write retval to offset when the connection should be closed.
  11. [Improve] Use transport id to trace connection established/lost.
yasio -

Published by halx99 over 5 years ago

  1. Optimize template specialization.

  2. Add some API for io binarysteam.

  3. Merge lua bindings c++17/11 sources to lyasio.cpp.

  4. Add udp support.

  5. Fix crash lyasio at android with clang compiler.

  6. Add bind local port for pconnect, xpconnect of xxsocket.

  7. Add YASIO_OPT_CHANNEL_LOCAL_PORT to support bind local port for client channel.

  8. Fix bind error: Invalid argument at unix like system.

  9. Fix ios & android c++11 compile issue.

  10. Add Android.mk for cocos2d-x lua bindings.

  11. Add Android.mk for cocos2d-x js bindings.

  12. Unify jsb & jsb20 binding API to jsb_register_yasio.

  13. Remove unused sources & files.

  14. Add experimental implementations: epoll, iocp, poll.

  15. Add new integration guide, more easy to integration with cocos2d-x lua.

yasio -

Published by halx99 over 5 years ago

  1. Remove macro '_USING_SHARED_PTR'
  2. Rename io_event::error_code to io::event::status
  3. Change Lua binding io_event::packet to io_event::take_packet
  4. Optimize io binarystream function template specialization
  5. Add x64 prebuilt lyasio.dll for Unity tolua framework
  6. Add Cocos2d-x jsb support
  7. Add CocosCreator jsb2.0 support
  8. Rename libname from mini-asio to yasio
yasio -

Published by halx99 almost 6 years ago

1.Tidy some APIs
2.Unity support

yasio -

Published by halx99 almost 6 years ago

yasio -

Published by halx99 almost 6 years ago