set_defport() sets the default
port value for new connections. If -1 is supplied as parameter,
environment variables will be used in future connections. It
returns the previous setting for default port.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.