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: Robert Pluim
Subject: Re: [RFC] automatically retrying network connections
Date: Sun, 22 Jul 2018 13:18:52 +0200

Jimmy Yuen Ho Wong <address@hidden> writes:

>
> P.S. Thanks a lot for exposing `getaddrinfo`, I haven't tried it out
> yet. I'll get it ASAP.

Of course, emacs being emacs:

    dns-query is a compiled Lisp function in `dns.el'.

    (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).

Robert



reply via email to

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