Commit 5aea717e authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

The fallback default port for std.ip() is always 80

parent 64fc3426
......@@ -341,7 +341,8 @@ and a port number or service name.
When *s* contains both, the syntax is either ``address:port`` or
``address port``. If the address is a numerical IPv6 address it must be
enclosed between brackets, for example ``[::1] 80`` or ``[::1]:http``.
The *fallback* may also contain both an address and a port.
The *fallback* may also contain both an address and a port, but its default
port is always 80.
If *resolve* is false, `getaddrinfo(3)` is called using ``AI_NUMERICHOST``
and ``AI_NUMERICSERV`` to avoid network lookups depending on the system's
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment