sendto() never returns


I’ve connected a W5500 (IP address Subnet to a Windows 10 PC (IP address Subnet
The PC is sending a broadcast and expecting an answer from W5500. But there is no answer packet, because the function sendto() never returns. In debugger I can see that Sn_IR_SENDOK or Sn_IR_TIMEOUT bits never get set.

What can I do to prevent endless looping in sendto() function?


Never mind.
I’ve not noticed that the RTR and RCR timeout is also relevant for ARP requests. And this time was too high, so it seemed that the timeout bit gets never set.