Date: Thu, 18 Jul 2002 20:22:01 +0300 From: Petri Helenius <pete@he.iki.fi> To: Erik Trulsson <ertr1013@student.uu.se> Cc: "Chuck T." <freebsdfan@hotmail.com>, bjones@emergecore.com, net@FreeBSD.ORG Subject: Re: programatically list all local IP addresses ? Message-ID: <3D36F939.680BD76C@he.iki.fi> References: <F171aqKU9mS7pZFLqs2000138c5@hotmail.com> <20020718171833.GA40200@falcon.midgard.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Erik Trulsson wrote: > > Just be aware that getifaddrs(3) (which does seem to be a quite useful > function) is not very portable. > It appears to be available on recent releases of all the *BSDs, but it > does not seem to exist on Solaris or Linux. > What would be the portable alternative to getifaddrs? I don't know one, but obviously it's good to know that you'll reimplement some of your code when going from platform to another. Pete To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D36F939.680BD76C>