Disclosure: the code I\'m working on is for university coursework.
Background: The task I\'m trying to complete is to report on the effect of different threading tec
Have you tried setting:
echo "1" >/proc/sys/net/ipv4/tcp_tw_reuse
and/or
echo "1" >/proc/sys/net/ipv4/tcp_tw_recycle
These settings may make Linux re-use the TIME_WAIT sockets. Unfortunately I can't find any definitive documentation.