[En-Nut-Discussion] NutUdpSendTo taking too long

Nathan Moore nategoose at gmail.com
Thu Oct 29 18:51:26 CET 2009


Hey José,
When you send a IP packet over ethernet you have to know the MAC
address of the recipient.  To find this out the ARP (Address Resolution
Protocol) cache is examined.  If no entry for the destination IP address
is in the ARP cache then an ARP request must be sent over the
local ethernet and then you have to wait for an ARP reply.  If no one
is there with that IP address then you just wait until you finally give up.
In NutOS the sending thread is blocked until the IP packet is either sent
or something goes wrong (in this case no ARP reply).

Nathan



More information about the En-Nut-Discussion mailing list