-
Notifications
You must be signed in to change notification settings - Fork 233
Open
Description
pkg/minoca/os/apps/libc/dynamic/gaddrinf.c contains:
if ((Hints != NULL) && ((Hints->ai_flags & AI_NUMERICSERV) != 0)) {
return EAI_SERVICE;
}
POSIX says:
The ai_flags field to which the hints parameter points shall be set to zero or be the bitwise-inclusive OR of one or more of the values AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST, AI_NUMERICSERV, AI_V4MAPPED, AI_ALL, and AI_ADDRCONFIG.
Minoca defines AI_ADDRCONFIG in apps/libc/include/netdb.h and should support its use in the hints argument of getaddrinfo.
I have not looked at whether Minoca supports IP6, but that is not the issue here. Support for AI_ADDRCONFIG is needed so Minoca can run POSIX-compliant programs that want to adapt to whatever network facilities are available in the current platform.
Metadata
Metadata
Assignees
Labels
No labels