doc: use UDPv4/UDPv6 consistently with TCPv4/TCPv6

(Arguably, the whole terminology is not perfect, but at least it will be
consistent with TCP now.)

PR-URL: https://github.com/nodejs/node/pull/41824
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Mestery <mestery@protonmail.com>
This commit is contained in:
Tobias Nießen
2022-02-02 20:48:54 +01:00
committed by GitHub
parent 8a3f28a05c
commit 68ef009f82

View File

@@ -761,7 +761,7 @@ The `addressType` is one of:
* `4` (TCPv4)
* `6` (TCPv6)
* `-1` (Unix domain socket)
* `'udp4'` or `'udp6'` (UDP v4 or v6)
* `'udp4'` or `'udp6'` (UDPv4 or UDPv6)
## Event: `'message'`