Forum Discussion
Altera_Forum
Honored Contributor
20 years agoWell, yes I do run out of pbufs, but that is not the point here, because a call to recvfrom() will release the pbuf it just read from.
The point is, that if I ran out of pbufs (wich is intended) and start reading/releasing them with recvfrom(), the function will block after getting about ten data packages, even though it is used in non blocking mode. Both select() and lwip_ioctl() indicate that there is data left, what is absolutely understandable, because more than ten pbufs are specified in the projects properties. Now I would like to know if this could be a bug in lwip or if I have to adjust some of the lwip properties (currently I am using the default values) or if there is any other plausible explanation for this behavior. Thanks in advance for all helpful info you can give! --wolf