flag, then IPv4 addresses are returned in the list pointed to by
.I res
only if the local system has at least one
-IPv4 address configured, and IPv6 addresses are only returned
-if the local system has at least one IPv6 address configured.
+IPv4 address configured, and IPv6 addresses are returned
+only if the local system has at least one IPv6 address configured.
The loopback address is not considered for this case as valid
as a configured address.
.PP
If
-.I hint.ai_flags
+.I hints.ai_flags
specifies the
.B AI_V4MAPPED
flag, and
It may be available through another socket type.
For example, this error could occur if
.I service
-was "shell" (a service only available on stream sockets), and either
+was "shell" (a service available only on stream sockets), and either
.I hints.ai_protocol
was
.BR IPPROTO_UDP ,