Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I detect number of discarded UDP packets in application?

Status
Not open for further replies.

phoffric

Programmer
Aug 20, 2005
2
US
Hello,

I would like to write an application to receive a large number of UDP packets. In order to tell the sender what "send packet rate" it should use, I would like the application to determine the number of discarded UDP packets thrown out by the UDP layer due to UDP checksum errors. In this way I can distinguish between congestion and bit error corruption and make proper decisions about flow control.

Is there a way for a SCO 5.0.5 C++ or C application to determine the number of silently discarded UDP packets. In this platform, there will be only one application that will receive UDP packets on a specified port, so I can assume that all (or at least most) discarded UDP packets were intended for my application.

Thanks in advance for any system/network calls you can provide me with.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top