Date: Sat, 16 Sep 2000 11:09:01 -0400 (EDT) From: Robert Watson <rwatson@FreeBSD.ORG> To: David Malone <dwmalone@maths.tcd.ie> Cc: Chris Ptacek <ptacek@dashmail.net>, freebsd-hackers@FreeBSD.ORG Subject: Re: Getting all the IP address for a machine from code... Message-ID: <Pine.NEB.3.96L.1000916110558.99759B-100000@fledge.watson.org> In-Reply-To: <200009161101.aa71225@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 16 Sep 2000, David Malone wrote: > > It is possible to get interface lists on earlier versions (and I hope > > still current versions) using the ioctl interfaces described in Stevens. > > See also ifconfig.c source from various versions of FreeBSD :-). > > I think Garret suggested that the ioctl method was deprecated? That said, the ioctl() method is probably also portable across platforms. Recommending the deprecating quasi-standard interfaces in favor of local interfaces for third-party application writers would probably be a mistake. Where it's not possible to perform the function with the portable API, fine, of course. :-) Robert N M Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 TIS Labs at Network Associates, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1000916110558.99759B-100000>