Hey,
what does this mean in the RTOS 1.3.0 API referene manual?
"3. Network programming use socket, please do not bind to the same port."
Which port? What programing?
Thanks
From RTOS doc 1.3.0: "Network programming use socket.."
Re: From RTOS doc 1.3.0: "Network programming use socket.."
Postby kolban » Sun Nov 29, 2015 3:24 am
I'm going to guess that the recommendation for writing C applications that run on FreeRTOS is that if one wants to perform network access ... then use the sockets API as opposed to the ESPCONN API.
In TCP/IP programming, we can set up a local listening socket that receives incoming requests, to do that we bind a socket to a local port number. I think this warning is that we should not attempt to bind two separate listener sockets to the same port number.
In TCP/IP programming, we can set up a local listening socket that receives incoming requests, to do that we bind a socket to a local port number. I think this warning is that we should not attempt to bind two separate listener sockets to the same port number.
Re: From RTOS doc 1.3.0: "Network programming use socket.."
Postby Mario_ » Sun Nov 29, 2015 3:35 am
lol, maybe. I thought there may be a port open to access the bootloader to program the device over the network and that we shouldn't bind a socket to the same port.
Who is online
Users browsing this forum: No registered users and 1 guest
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.