On Sat, 18 Jun 2011 04:55:59 +0200, Marinos Yannikos <mjy@geizhals.at>
wrote:
> sysctl -w net.ipv4.tcp_tw_reuse=1
This fixed the issue apparently, so bind() seems to choose ports in
TIME_WAIT state for some reason with sin_port=0 and that caused it.
Regards,
Marinos