3 posts • Page 1 of 1
When working with TCP/IP on an ESP8266, I find that I can use the "espconn_*" functions ... but if using RTOS, I can use an implementation of the standard "sockets" API as an alternative. Does anyone know at this early date if the ESP32 provides support for sockets programming?
Last edited by kolban on Mon Nov 07, 2016 5:43 am, edited 1 time in total.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
I haven't tried it, but the ESP IDF does build lwip/app/sockets.c which would suggest it is indeed available. Another item also pointing in that direction is the mbedtls component which typically uses the socket interface of lwIP.
Yes, with FreeRTOS as the standard in esp-idf, the sockets interface is fully supported. We will probably support the espconn_* interface as well eventually, but chances are this will be implemented as a layer on top of the BSD sockets.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 24 guests