-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Description
Selecting the port to use dynamically has two major benefits:
- No need to have port open on registered port range.
- Faster to launch remote servers sequentially when there's no need to wait ports to be free'ed. This happens to be needed in our acceptance tests and thus this feature is included into the 1.0 release.
This feature has three sides:
- Actual implementation of selecting a port dynamically. This actually happens to be possible already now by explicitly using port 0. SimpleXMLRPCServer takes care of everything else.
- Announcing the selected port so that users can easily check it and later connect to the right port. This will be implemented in two ways:
- The already now printed message contains the actually used port, not the port that user gave.
- Add feature to give the server a path to a file where to write the port number in use. This will be easy to use programmatically.
- Document the functionality.