tcpip_adapter.rst 950 B

12345678910111213141516171819
  1. TCP/IP Adapter
  2. ==============
  3. The purpose of TCP/IP Adapter library is twofold:
  4. - It provides an abstraction layer for the application on top of the TCP/IP stack. This will allow applications to choose between IP stacks in the future.
  5. - The APIs it provides are thread safe, even if the underlying TCP/IP stack APIs are not.
  6. ESP-IDF currently implements TCP/IP Adapter for the lwIP TCP/IP stack only. However, the adapter itself is TCP/IP implementation agnostic and different implementations are possible.
  7. Some TCP/IP Adapter API functions are intended to be called by application code, for example to get/set interface IP addresses, configure DHCP. Other functions are intended for internal ESP-IDF use by the network driver layer.
  8. In many cases, applications do not need to call TCP/IP Adapter APIs directly as they are called from the default network event handlers.
  9. API Reference
  10. -------------
  11. .. include:: /_build/inc/tcpip_adapter.inc