Re: First UDP message to a specific IP gets lost



Correct.
And I can also see the outgoing "first" messages in wireshark on sender side but not incoming on receiver side.


"Dave Lowther" <davel@xxxxxxxxx> wrote in message news:OubeBzG$IHA.3756@xxxxxxxxxxxxxxxxxxxxxxx
"Ole Dittmann" <ole@xxxxxxxxxxxxxx> wrote in message news:eVDfIsG$IHA.5336@xxxxxxxxxxxxxxxxxxxxxxx
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.

It's not clear, but I think you mean that you call send() for the "First messages" and send returns indicating success, but you do not see the "First messages" in wireshark ?

"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: First UDP message to a specific IP gets lost
    ... And I can also see the outgoing "first" messages in wireshark on sender ... receiving PC, and you see the "first messages" in WireShark on sending PC ... Sounds like it might be caused by ARP but I have no direct experience ... Then windows has to ARP to get destination MAC ...
    (microsoft.public.win32.programmer.networks)
  • Re: First UDP message to a specific IP gets lost
    ... I am working on a show controlling system based on UDP Communication. ... for some minutes the first message after waiting gets lost again. ... Then windows has to ARP to get destination MAC ...
    (microsoft.public.win32.programmer.networks)
  • udp traffic cannot be sniffed
    ... I am tasked with recording some udp messages between 2 windows ... I'm using a linux box with wireshark and tcpdump ... The applications are talking on port 7000 using udp. ... wireshark on either of the windows boxes I see the traffic. ...
    (comp.os.linux.networking)
  • Re: Java Socket Communication: Works under windows, times out under Linux and Mac OS
    ... Ping/traceroute/netstat and then WireShark. ... The Wireshark feature I use most is "Follow TCP Stream" which assembles ... the data sent on Windows and OSX appears to ... On OSX I don't get a response string in the Follow TCP Stream window. ...
    (comp.lang.java.help)

Loading