GNU bug report logs - #9586
The Windows port does not support datagram sockets

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Fri, 23 Sep 2011 12:15:02 UTC

Severity: wishlist

Tags: patch

Merged with 45821

Found in version 28.0.50

Full log


Message #20 received at 9586 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: Lars Magne Ingebrigtsen <larsi <at> gnus.org>, 9586 <at> debbugs.gnu.org
Subject: Re: bug#9586: Fwd: bug#9586: The Windows port does not support
 datagram sockets
Date: Wed, 02 Oct 2019 16:19:13 +0200
>>>>> On Wed, 2 Oct 2019 00:52:26 +0200, Juanma Barranquero <lekktu <at> gmail.com> said:

    Juanma> (Resending, there was a typo in the debbugs address)
    >>> dns.el uses datagram sockets.

    >> I suppose it was added after Stefan's comment (in 2006).

    Juanma> Well, in fact dns-query does not work on Windows because datagram
    Juanma> sockets are still unsupported.

    Juanma> M-x load-library dns <RET>

    Juanma> M-: (dns-make-network-process "8.8.8.8")

    Juanma> => Unsupported connection type

We now have the following, which will do DNS lookups, although it
doesnʼt let you specify the server.

    network-lookup-address-info is a built-in function in `C source code'.

    (network-lookup-address-info NAME &optional FAMILY)

    Look up ip address info of NAME.
    Optional parameter FAMILY controls whether to look up IPv4 or IPv6
    addresses.  The default of nil means both, symbol `ipv4' means IPv4
    only, symbol `ipv6' means IPv6 only.  Returns a list of addresses, or
    nil if none were found.  Each address is a vector of integers.




This bug report was last modified 3 years and 128 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.