Closed brendanmatkin closed 6 years ago
EthernetUdp3::parsePacket() should be non blocking.
EthernetUdp3::parsePacket()
I'm pretty sure the problem stems from the do-while loop in w5500.getRXReceivedSize(_sock). Not sure how to fix at the moment.
w5500.getRXReceivedSize(_sock)
Might be worth implementing some version of Ethernet.socketRecvAvailable(sockindex) > 0 as used in socket utility of Teensy version of Ethernet?
Ethernet.socketRecvAvailable(sockindex) > 0
I canˋt figure out the problem without an short example code. Work the code on Teensy? May be you should make an issue on the github site of the original library.
EthernetUdp3::parsePacket()
should be non blocking.I'm pretty sure the problem stems from the do-while loop in
w5500.getRXReceivedSize(_sock)
. Not sure how to fix at the moment.Might be worth implementing some version of
Ethernet.socketRecvAvailable(sockindex) > 0
as used in socket utility of Teensy version of Ethernet?