asio.rst 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. ASIO port
  2. =========
  3. Overview
  4. --------
  5. Asio is a cross-platform C++ library, see https://think-async.com. It provides a consistent asynchronous model using a modern C++ approach.
  6. ASIO documentation
  7. ^^^^^^^^^^^^^^^^^^
  8. Please refer to the original asio documentation at https://think-async.com/Asio/Documentation.
  9. Asio also comes with a number of examples which could be find under Documentation/Examples on that web site.
  10. Supported features
  11. ^^^^^^^^^^^^^^^^^^
  12. ESP platform port currently supports only network asynchronous socket operations; does not support serial port and ssl.
  13. Internal asio settings for ESP include
  14. - EXCEPTIONS: Supported, choice in menuconfig
  15. - SIGNAL, SIGACTION: Not supported
  16. - EPOLL, EVENTFD: Not supported
  17. - TYPEID: Disabled by default, but supported in toolchain and asio (provided stdlib recompiled with -frtti)
  18. Application Example
  19. -------------------
  20. ESP examples are based on standard asio examples `examples/protocols/asio`:
  21. - udp_echo_server
  22. - tcp_echo_server
  23. - chat_client
  24. - chat_server
  25. Please refer to the specific example README.md for details