Category : linux

The tcp socket is non blocking. Every few seconds I check for the the default socket size and current occupied size. Then, calculate the percentage based on both the values. If the percentage value is near to 90, congestion is indicated. I am calculating the default size with following: int n; unsigned int m = ..

Read more