• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting own IP address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting own IP address


  • Subject: Re: Getting own IP address
  • From: Justin Walker <email@hidden>
  • Date: Sun, 4 May 2003 18:19:24 -0700

Sorry for the delay; I've been off the air for a bit...

On Wednesday, Apr 30, 2003, at 14:59 US/Pacific, Matt Slot wrote:

Justin Walker (email@hidden) wrote:
[snip]
You might also try looking at the NET_RT_IFLIST command in
sysctl(2). W. Richard Stevens's "Unix Network Programming, V1, 2nd Ed"
is an invaluable aid (if you haven't already seen it).

Stuck with the 1st Edition, and a google search didn't turn up much.
Is this the best / most compatible way to get this information? From
what I see, it's not available on Linux.

See http://www.kohala.com, and poke around there. There are a couple of code tarballs for various of Stevens's book, including some for the above that are alleged to work on RH 5.x and 6.x.

I'm no expert, but can OT do that? I know that OT has an implicit
"active interface" point of view, since it only supports one such, so I
don't know whether there's a way to get at all active interfaces.

Yes, OT is returning all the interfaces appropriately, including the
Airport / Internet Sharing address.

Thanks; I think that was the thrust of PeterS's comment as well (which I no longer have around to check).

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | Men are from Earth.
| Women are from Earth.
| Deal with it.
*--------------------------------------*-------------------------------*
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: URLAccess kURLDisplayProgressFlag issue
  • Next by Date: Help!!!!
  • Previous by thread: https and self signed certificates?
  • Next by thread: Help!!!!
  • Index(es):
    • Date
    • Thread