Re: First UDP message to a specific IP gets lost



I made a test program that sends just one datagram and then waits for keyboard input. Also that single message never arrives if it is the first one after some time.
And I also used wireshark but it tells me only what I can see on my own: First messages are send but they never arrive. At least it assured me that I'am not having a bug in my sending/recieving programs.
But yes, that ARP may be the cause. But I think that It shouldnt lead to complete loss of first message - a little delay maybe.


"Dave Lowther" <davel@xxxxxxxxx> wrote in message news:eYYIv4D$IHA.2056@xxxxxxxxxxxxxxxxxxxxxxx
"Ole Dittmann" <ole@xxxxxxxxxxxxxx> wrote in message news:uBcOZs8%23IHA.984@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am working on a show controlling system based on UDP Communication.

Problem is:
When I send a message specifically to an IP adress I did not communicate
with for some time then it gets lost.
The next messages after a short time will work. But every time I wait again
for some minutes the first message after waiting gets lost again.

Sounds like it might be caused by ARP but I have no direct experience of this situation on Windows.

Perhaps something like this is happening, you could check with WireShark.

a) First UDP send stores the send data in the socket.
b) Then windows has to ARP to get destination MAC
c) If you try to send too much more here before ARP reply some data may be lost.
d) Windows gets ARP reply now knows destination MAC and sends stored data.
e) Time passes and ARP cache entry is deleted
f) Go to a)


.



Relevant Pages

  • Re: First UDP message to a specific IP gets lost
    ... Also that single message never arrives if it is the first ... And I also used wireshark but it tells me only what I can see on my own: ... Then windows has to ARP to get destination MAC ...
    (microsoft.public.win32.programmer.networks)
  • Re: SMBRelay issues
    ... Check out phenoelit's ARP 0c Connection Interceptor ... I've not used this tool in a windows ... This list is provided by the SecurityFocus Security Intelligence Alert ... For more information on SecurityFocus' SIA service which ...
    (Pen-Test)
  • Ethernet help, please...
    ... I've got an older AT PC running windows. ... the NIC works fine in windows, it does not work at all in Linux!!! ... Added the MAC ... addresses to the arp table. ...
    (comp.os.linux.networking)
  • RE: firewall 1 help
    ... A common gotya is the flawed proxy arp ... running on Windows NT ... arp -s <MAC address of firewall external IP> ...
    (Security-Basics)
  • Clearing the ARP Cache: Error when trying to repair connection in XP
    ... 'error clearing the ARP cache' I can perform some tasks like; ... send/retrieve outlook mail but I can't access the internet. ... > Under network connections by internet connection is enabled but no ... > I'm able to download Windows updates and perform some other funtions ...
    (microsoft.public.windowsxp.network_web)

Loading