all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>, 9586@debbugs.gnu.org
Subject: bug#9586: Fwd: bug#9586: The Windows port does not support datagram sockets
Date: Wed, 02 Oct 2019 16:19:13 +0200	[thread overview]
Message-ID: <m27e5nz0v2.fsf@gmail.com> (raw)
In-Reply-To: <CAAeL0SRD0TbXT77bBHb-wBrAPSdAy514EzsyK4Gh-dG5qaByUA@mail.gmail.com> (Juanma Barranquero's message of "Wed, 2 Oct 2019 00:52:26 +0200")

>>>>> On Wed, 2 Oct 2019 00:52:26 +0200, Juanma Barranquero <lekktu@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.





  reply	other threads:[~2019-10-02 14:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAAeL0SROeyx8LThBE6Y1nHbX5hXv+uZVKLwDoY_XLw0W6sdbYw@mail.gmail.com>
2019-10-01 22:52 ` bug#9586: Fwd: bug#9586: The Windows port does not support datagram sockets Juanma Barranquero
2019-10-02 14:19   ` Robert Pluim [this message]
2019-10-02 14:28     ` Juanma Barranquero
2019-10-02 15:47       ` Robert Pluim
2019-10-02 16:06         ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m27e5nz0v2.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=9586@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=lekktu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.