Simon Josefsson wrote: > Thanks. It seems sad that https isn't widely supported. I would guess > that the reason is that they aren't in /etc/services?
Yes. On the IRIX and Solaris machines, the earlier test failures coincide with the missing lines in /etc/services. On AIX, http succeeded, although in /etc/services the port 80 is called "www", not "http" - maybe they have a separate table of services or alias names somewhere. > Or is there any > platform where https is in /etc/services and getaddrinfo fails to > support it anyway? No. > One idea would be a gnulib module to implement a replacement > getservbyname function that supports all the IANA registered names, or > at least also supports https. Why only https then? I would use a reasonably complete list, and precompile it using gperf (to speed up the search). Bruno