Re: First UDP message to a specific IP gets lost
- From: "Dave Lowther" <davel@xxxxxxxxx>
- Date: Tue, 12 Aug 2008 06:39:56 +0100
"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)
.
- Follow-Ups:
- Re: First UDP message to a specific IP gets lost
- From: Ole Dittmann
- Re: First UDP message to a specific IP gets lost
- References:
- First UDP message to a specific IP gets lost
- From: Ole Dittmann
- First UDP message to a specific IP gets lost
- Prev by Date: Re: sending echo request via socket (linux assembly)
- Next by Date: Re: the 4th parameter of 'recv' function, 0?
- Previous by thread: Re: First UDP message to a specific IP gets lost
- Next by thread: Re: First UDP message to a specific IP gets lost
- Index(es):
Relevant Pages
|
Loading