ESP8266 Developer Zone The Official ESP8266 Forum 2015-11-19T09:58:32+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1402 2015-11-19T09:58:32+08:00 2015-11-19T09:58:32+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1402&p=4659#p4659 <![CDATA[Re: udp and espconn_sendto getting ESPCONN_ISCONN returns]]>
Here is an example of UDP transmission http://bbs.espressif.com/viewtopic.php?f=31&t=440, please have a try.

If your problem is still unsolved, please provide your test code for debugging.

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Thu Nov 19, 2015 9:58 am


]]>
2015-11-18T22:48:47+08:00 2015-11-18T22:48:47+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1402&p=4651#p4651 <![CDATA[udp and espconn_sendto getting ESPCONN_ISCONN returns]]> why I am getting ESPCONN_ISCONN returns when I
call espconn_sendto multiple times. The error is a hit or
miss as I send packets, so I think the ESP SDK is keeping internal
state on the UDP packet.

This happens whether I use the same local port or use
espconn_port to get a new one (that really surprises me).

Preferably I would like to reuse the espconn structure between
sending packets between the ESP and a single server.
Is there any way that I can do that?

Can someone share some insights?

sdk = 1.4.1

Thanks,

Alberto

Statistics: Posted by alonso — Wed Nov 18, 2015 10:48 pm


]]>