How to reuse TCP listening socket immediately after it was connected at least once?

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Thu May 28 17:07:03 EDT 2009


In message <gvlppt$hk0$1 at news.lysator.liu.se>, Thomas Bellman wrote:

> Speaking as a sysadmin, running applications for production,
> programs not using SO_REUSEADDR should be taken out and shot.

> Not using SO_REUSEADDR means forcing a service interruption of
> half an hour (IIRC) if for some reason the service must be
> restarted, or having to reboot the entire machine.

No, you do not recall correctly. And anybody wanting to reboot a machine to 
work around a "problem" like that should be taken out and shot.




More information about the Python-list mailing list