I have a custom UDP protocol with multiple senders/receivers designed to send large files around as fast as possible. It is client/server based.
How can I detect congestion on the LAN to slow the rate of UDP packets being sent?
EDIT: please, no comments on the use of UDP whether it's suitable or not. This protocol uses UDP but reassembles packets into whole files when they arrive.
To rephrase the question: How do congestion control algorithms work and how is congestion detected?