Update conventions.md

This commit is contained in:
Aaron Paterson 2024-10-10 00:11:23 -04:00 committed by GitHub
parent e590d29117
commit bc8db1de26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,6 +32,7 @@ The network can be any of the following; ones suffixed with `4` or `6` are IPv4
- UDP: `udp`, `udp4`, `udp6` - UDP: `udp`, `udp4`, `udp6`
- IP: `ip`, `ip4`, `ip6` - IP: `ip`, `ip4`, `ip6`
- Unix: `unix`, `unixgram`, `unixpacket` - Unix: `unix`, `unixgram`, `unixpacket`
- File descriptors: `fd`, `fdgram`
The address part may be any of these forms: The address part may be any of these forms:
@ -42,7 +43,7 @@ The address part may be any of these forms:
- `/path/to/unix/socket` - `/path/to/unix/socket`
- `/path/to/unix/socket|0200` - `/path/to/unix/socket|0200`
The host may be any hostname, resolvable domain name, or IP address. The host may be any hostname, resolvable domain name, IP address, or file descriptor number.
In the case of IPv6 addresses, the address must be enclosed in square brackets `[]`. The zone identifier (starting with `%`) is optional (often used for link-local addresses). In the case of IPv6 addresses, the address must be enclosed in square brackets `[]`. The zone identifier (starting with `%`) is optional (often used for link-local addresses).