lwIP non blocking call of recvfrom

Vaskov
Posts: 4
Joined: Mon Jan 25, 2021 3:26 pm

lwIP non blocking call of recvfrom

Postby Vaskov » Fri Oct 15, 2021 10:38 am

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,

nopnop2002
Posts: 46
Joined: Thu Oct 03, 2019 10:52 pm

Re: lwIP non blocking call of recvfrom

Postby nopnop2002 » Sat Oct 16, 2021 11:51 pm

recvform function waits for data reception but does not block other tasks.

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

Who is online

Users browsing this forum: leschge, mikecarlos and 138 guests