Page 1 of 1

lwIP non blocking call of recvfrom

Posted: Fri Oct 15, 2021 10:38 am
by Vaskov
Hi,
I am using UDP protocol to share the data over wifi. I am having one task which should check if data is available, however, I noticed that its blocking all other tasks because its not yielding on recvfrom() function. How I can solve this problem?

Best,

Re: lwIP non blocking call of recvfrom

Posted: Sat Oct 16, 2021 11:51 pm
by nopnop2002
recvform function waits for data reception but does not block other tasks.

https://github.com/espressif/esp-idf/tr ... udp_client