Subj : Re: Closing tcp socket connections To : comp.programming From : Martin Hierholzer Date : Tue Aug 16 2005 12:18 pm Alex Fraser wrote: [snip] >> My server cannot be restarted in this case, because it cannot listen on >> an opened port, but e.g. apache does despite from its open TIME_WAIT >> connections. How have they done this? > > Probably setsockopt(...SO_REUSEADDR...). Yes, that does it. Thank you for the help! .