emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] automatically retrying network connections


From: Jimmy Yuen Ho Wong
Subject: Re: [RFC] automatically retrying network connections
Date: Mon, 23 Jul 2018 00:29:15 +0100

On Sun, Jul 22, 2018 at 12:43 PM, Lars Ingebrigtsen <address@hidden> wrote:
> Robert Pluim <address@hidden> writes:
>
>>     (dns-query NAME &optional TYPE FULLP REVERSEP)
>>
>>     Query a DNS server for NAME of TYPE.
>>     If FULLP, return the entire record returned.
>>     If REVERSEP, look up an IP address.
>>
>> which you could use instead of 'nslookup' or 'getaddrinfo' (although
>> 'dns-query' can also punt to 'nslookup', so maybe getaddrinfo is
>> better).
>
> getaddrinfo is probably a lot better.  `dns-query' isn't that good at
> retries and the like, if I remember correctly.
>

He's just pointing out one of the MANY functions in emacs that allows
you to look up an IP address. I've found at least 4, and we now
introducing the 5th and 6th...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]