Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
What does it mean when Ethernet::receive() returns -3?
I dynamically create an ethernet object, verify link, call Ethernet::receive() to ensure no packet is already waiting for reading (it is not), send an ARP packet, get a valid ARP response, Ethernet::read() the response, test its IP address and then delete the ethernet object. I then repeat this sequence but when the Ethernet::receive() is called it returns a -3.