* bug#9586: Fwd: bug#9586: The Windows port does not support datagram sockets
[not found] <CAAeL0SROeyx8LThBE6Y1nHbX5hXv+uZVKLwDoY_XLw0W6sdbYw@mail.gmail.com>
@ 2019-10-01 22:52 ` Juanma Barranquero
2019-10-02 14:19 ` Robert Pluim
0 siblings, 1 reply; 5+ messages in thread
From: Juanma Barranquero @ 2019-10-01 22:52 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: 9586
[-- Attachment #1: Type: text/plain, Size: 348 bytes --]
(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).
Well, in fact dns-query does not work on Windows because datagram
sockets are still unsupported.
M-x load-library dns <RET>
M-: (dns-make-network-process "8.8.8.8")
=> Unsupported connection type
[-- Attachment #2: Type: text/html, Size: 1273 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#9586: Fwd: bug#9586: The Windows port does not support datagram sockets
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
2019-10-02 14:28 ` Juanma Barranquero
0 siblings, 1 reply; 5+ messages in thread
From: Robert Pluim @ 2019-10-02 14:19 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: Lars Magne Ingebrigtsen, 9586
>>>>> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#9586: Fwd: bug#9586: The Windows port does not support datagram sockets
2019-10-02 14:19 ` Robert Pluim
@ 2019-10-02 14:28 ` Juanma Barranquero
2019-10-02 15:47 ` Robert Pluim
0 siblings, 1 reply; 5+ messages in thread
From: Juanma Barranquero @ 2019-10-02 14:28 UTC (permalink / raw)
To: Robert Pluim; +Cc: Lars Magne Ingebrigtsen, 9586
[-- Attachment #1: Type: text/plain, Size: 519 bytes --]
On Wed, Oct 2, 2019 at 4:19 PM Robert Pluim <rpluim@gmail.com> wrote:
> 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)
Thanks, I didn't know that.
Anyway, this bug report wasn't really about dns.el, but about datagram
sockets not being implemented on the Windows port. The dns.el problem is
just fallout.
[-- Attachment #2: Type: text/html, Size: 713 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#9586: Fwd: bug#9586: The Windows port does not support datagram sockets
2019-10-02 14:28 ` Juanma Barranquero
@ 2019-10-02 15:47 ` Robert Pluim
2019-10-02 16:06 ` Juanma Barranquero
0 siblings, 1 reply; 5+ messages in thread
From: Robert Pluim @ 2019-10-02 15:47 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: Lars Magne Ingebrigtsen, 9586
>>>>> On Wed, 2 Oct 2019 16:28:27 +0200, Juanma Barranquero <lekktu@gmail.com> said:
Juanma> Anyway, this bug report wasn't really about dns.el, but about datagram
Juanma> sockets not being implemented on the Windows port. The dns.el problem is
Juanma> just fallout.
True, but the question remains: what do you need datagram sockets for?
Robert
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#9586: Fwd: bug#9586: The Windows port does not support datagram sockets
2019-10-02 15:47 ` Robert Pluim
@ 2019-10-02 16:06 ` Juanma Barranquero
0 siblings, 0 replies; 5+ messages in thread
From: Juanma Barranquero @ 2019-10-02 16:06 UTC (permalink / raw)
To: Robert Pluim; +Cc: Lars Magne Ingebrigtsen, 9586
[-- Attachment #1: Type: text/plain, Size: 184 bytes --]
I don't need them for anything specific. It's just a capability that works
on GNU/Linux and not on Windows.
And that's why I updated this bug report, to mark that it wasn't obsolete.
[-- Attachment #2: Type: text/html, Size: 253 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-10-02 16:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
2019-10-02 14:28 ` Juanma Barranquero
2019-10-02 15:47 ` Robert Pluim
2019-10-02 16:06 ` Juanma Barranquero
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).