set_defport(port)
New default host (integer/-1).
Previous default port specification.
Bad argument type, or too many arguments.
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.