Eli Zaretskii wrote: >> The Gnulib getaddrinfo module is supposed to work on MS-Windows. If Emacs used >> >the Gnulib getaddrinfo module, the mainline Emacs code could be simplified by >> >assuming that getaddrinfo works. > But the non-getaddrinfo parts are not conditioned on MS-Windows in any > way. What about other systems that might be using them? Sorry, you've lost me. The non-getaddrinfo parts of Gnulib? Of Emacs? For what it's worth, the Gnulib getaddrinfo module is supposed to work on a wide variety of systems lacking getaddrinfo, not just on MS-Windows. I'm sure you mean something straightforward, it's just that I'm not getting it. What I was thinking was that we add the Gnulib getaddrinfo module, and apply something like the attached (untested) patch.