Hi,
i want to reuse a connection after disconnect. In some cases i want to reuse immediately.
Configuration is:
espconn_set_opt(pespconn,ESPCONN_REUSEADDR+ESPCONN_NODELAY);
How can i detect if port is ready for reuse? (to delay if port is not available)
Can you estimate the delay time for port reuse after disconnect callback ? Is 6 seconds realistic ?
Reuse connection
Re: Reuse connection
Postby ESP_Faye » Tue Apr 05, 2016 2:06 pm
Hi,
If you need to reuse the connection, it is suggest that using socket on ESP8266_RTOS_SDK instead of espconn.
If you need to reuse the connection, it is suggest that using socket on ESP8266_RTOS_SDK instead of espconn.
Who is online
Users browsing this forum: No registered users and 3 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.