WIZnet Developer Forum

sendto() never returns

Hi.

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?

Thanks
BR
Christian

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.

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.