Stephen J. Turnbull writes:
Thanks! In the message
http://www.xemacs.org/list-archives/xemacs-beta/200007/msg00374.html
Hideaki YOSHIFUJI had the following info:
One solution against the problem that it would take long time to
resolve names is to define a new runtime-configuration variable
which selects protocol family being given to getaddrinfo()
through 'hints':
:
memset(&hints, 0, sizeof(hints));
hints.ai_familt = af; /* <= set this value by configuration variable:
PF_UNSPEC: IPv6->IPv4 (default)
PF_INET : IPv4
PF_INET6 : IPV6
xemacs' default should be PF_UNSPEC, but
it may be configurable by autoconf.
Even in this case, xemacs MUST allow
users to set this value through
runtime-variable by thamselves:
Red Hat can set configuration variable
PF_INET by default, but users MUST be
able to change that to PF_UNSPEC. */
If I change the ai_family from PF_UNSPEC (it is currently AF_UNSPEC)
to PF_INET, the problem goes away.
Now, how do we make sure this dosen't get dropped again?
Sean