I’ve instrumented my software to send UDP debugging packets to a remote computer to capture.
I’ve not been receiving a number of packets sent.
I wait until I have an IP address from DHCP before I attempt to send it.
What I found by tracing thru the IP code is that your IP code checks the destination address with its ARP table. If it not found … does not get sent.
That FIRST msg – establishes an entry into the ARP table. … That message is dropped.
Several of my messages are being sent before your IP has acquired an ARP reply. All messages sent prior to acquiring an ARP reply are disgarded.
That process is OK for the stack … but for me, it causes issues as debug packets are not being received.
Does a capability exist to ask the IP stack to acquire an ARP response for an IP address and then a way to verify that the response has been acquired?
If NOT, I will need to implement one. The current behavior is terrible as packets are just being dropped. I would rather issue an ARP IP request, poll for acquisition, and then send my debug packets.
Thanks in advance for any comments on this issue.