UDP congestion control

Zakaria Derder <[email protected]> Sun, 7 Jun 2015 21:06:08 +0000
Newsgroups gmane.network.simulator.isi
Message-ID <[email protected]>
Hello,
I have a wired sensor network topology in NS2 and i'm using UDP protocol. Is there anyway to detect congestion on the network links so i can slow the rate of UDP packets sent? I'm thinking measuring the number of packets in a link queue or maybe measure incoming traffic rate with the available bandwidth on the link? I don't know it's doable though. Can anybody help me to detect congestion in UDP?