all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Re: Getting local IP addresses from emacs
Date: Fri, 08 Nov 2019 21:39:04 +0100	[thread overview]
Message-ID: <87imnu5cif.fsf@gnus.org> (raw)
In-Reply-To: <m2sgmy7d4e.fsf@gmail.com> (Robert Pluim's message of "Fri, 08 Nov 2019 13:42:57 +0100")

Robert Pluim <rpluim@gmail.com> writes:

> I was thinking of reworking 'network-interface-list' to use
> 'getifaddrs' instead of the ioctls it does now, which would get all
> the interfaces, and (optionally) return the netmask/broadcast
> info.

Sounds like a good idea to me.

> The only issue there is that the returned interface names would
> no longer be unique.

Under what circumstances wouldn't the names be unique?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



  reply	other threads:[~2019-11-08 20:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-08 12:42 Getting local IP addresses from emacs Robert Pluim
2019-11-08 20:39 ` Lars Ingebrigtsen [this message]
2019-11-08 21:22   ` Robert Pluim
2019-11-08 21:24     ` Lars Ingebrigtsen
2019-11-14  9:22       ` Robert Pluim
2019-11-14 14:07         ` Eli Zaretskii
2019-11-14 14:44           ` Robert Pluim
2019-11-14 16:05             ` Eli Zaretskii
2019-11-15  7:49               ` Lars Ingebrigtsen
2019-11-15  9:18                 ` Robert Pluim
2019-11-15  9:27                   ` Lars Ingebrigtsen

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=87imnu5cif.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    /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.