Does it actually block, or does it just stall for a few seconds?
I have had the problem in embedded Ethernet of stalling when the destination host is not present. Although you'd expect UDP to be literally "fire and forget" there is other stuff that has to work.
In my case I think this is the culprit, but it's a discussion from 10 years ago that still seems to be an issue today:
https://forum.pjrc.com/index.php?thread ... ine.30473/
tl;dr probably ARP failure.
I have had the problem in embedded Ethernet of stalling when the destination host is not present. Although you'd expect UDP to be literally "fire and forget" there is other stuff that has to work.
In my case I think this is the culprit, but it's a discussion from 10 years ago that still seems to be an issue today:
https://forum.pjrc.com/index.php?thread ... ine.30473/
tl;dr probably ARP failure.
Statistics: Posted by ame — Wed Aug 28, 2024 10:20 pm