> You'll get anything in the ephemeral ports range. From which documentation source did you get this information for the handling of a zero as an useful setting?
> But the other cause is that you recently shut the server down, > and the port is still in the TIME_WAIT state. Does this technical detail occasionally increase the need to choose an additional number for a quickly restarted service in a dynamic way? > You can avoid this with the SO_REUSEADDR flag. Can such a configuration parameter be used also together with programming interfaces from the module “socketserver”? Regards, Markus -- https://mail.python.org/mailman/listinfo/python-list