Hi,
I'm trying to use two client sockets to connect the remote server, one is for message/command communication while another one is used for OTA upgrade. These two sockets are using differnt port.
Now the problem is that, I can create both two sockets, connected to the remote server. But only one socket can write/recv packet, another one is blocked in socket write() function. I tried to modify some TCP related parameters in LWIP opt.h/lwipopt.h files and recompiled the liblwip.a, but seems not working yet.
I remember somewhere stated in ESP8266 documents saying there is only one client socket connection and four server scoket connections can be used. Could you please let me know where is the limitation for that implementation? something related with LWIP stack?
Could you please recommend how I can move on?
Thanks in advance!
multiple client socket connections issue w/ RTOS SDK
Who is online
Users browsing this forum: No registered users and 59 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.