I’ve connected a W5500 (IP address 192.168.1.161 Subnet 255.255.255.0) to a Windows 10 PC (IP address 192.168.137.3 Subnet 255.255.255.0)
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?