I am wondering if there is somebody out there to help me with a UDP problem.
First of all the applications (there are many) are working fine. Typically the client is running in Windows'95 and the server on Windows'NT. The clients and the server might be in the same room or one at the East Coast the other at the West Coast.
The distance does not seems to make a difference. Both applications are writing logs of received and sent messages, that allows me to follow up what is happening.
The message size varies among applications. In most cases the message size is under 1K. In these applications I am not aware of any problem at all. In some applications the message size goes up to 8K.
When the message size is large messages are evaporating or arrive, the failure rate is inconsistant, sometimes (for a long time like hours) close to 100%, in other times (for days) close to zero.
We set the 8K limit arbitrary based on testing, running the client from Windows'98.
First I thought the older version of Wsock32.dll does not allow 8K. I reduced the size gradually to 6000 bytes without results. I can verify that the server sends the packet, but it never arrives.
I know that UDP either deliveres the message intact or not at all. I guess the reason of failure must rely on corrupted datagram, that in a very high rate caused by network (routing) problems.
My questions:
1. What are the possible reasons of this behavior?
2. How to prove it?
3. What to do for fixing the problem?
Any idea, advise welcome!
Thank you guys,
Peter Redei
------------------
First of all the applications (there are many) are working fine. Typically the client is running in Windows'95 and the server on Windows'NT. The clients and the server might be in the same room or one at the East Coast the other at the West Coast.
The distance does not seems to make a difference. Both applications are writing logs of received and sent messages, that allows me to follow up what is happening.
The message size varies among applications. In most cases the message size is under 1K. In these applications I am not aware of any problem at all. In some applications the message size goes up to 8K.
When the message size is large messages are evaporating or arrive, the failure rate is inconsistant, sometimes (for a long time like hours) close to 100%, in other times (for days) close to zero.
We set the 8K limit arbitrary based on testing, running the client from Windows'98.
First I thought the older version of Wsock32.dll does not allow 8K. I reduced the size gradually to 6000 bytes without results. I can verify that the server sends the packet, but it never arrives.
I know that UDP either deliveres the message intact or not at all. I guess the reason of failure must rely on corrupted datagram, that in a very high rate caused by network (routing) problems.
My questions:
1. What are the possible reasons of this behavior?
2. How to prove it?
3. What to do for fixing the problem?
Any idea, advise welcome!
Thank you guys,
Peter Redei
------------------
Comment