Using flush in the parsePacket is a slow way to skip unwanted data. I've modified my fork with code to simply update the pointer on the w5500 so we don't have to transfer it over SPI.
I've only implemented it in the parsePacket function but I think it could work or be better to simply rewrite the flush function with my changes.
I'd like to know if there's a reason for reading rather than skipping unwanted data using flush?
Using flush in the parsePacket is a slow way to skip unwanted data. I've modified my fork with code to simply update the pointer on the w5500 so we don't have to transfer it over SPI.
I've only implemented it in the parsePacket function but I think it could work or be better to simply rewrite the flush function with my changes.
I'd like to know if there's a reason for reading rather than skipping unwanted data using flush?
https://github.com/mtongnz/Ethernet3