Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 1996 19:51:11 +0100 (MET)
From:      Wilko Bulte <wilko@yedi.iaf.nl>
To:        ormonde@trem.cnt.org.br (Rodrigo Ormonde)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Discovering network interfaces
Message-ID:  <199612111851.TAA00689@yedi.iaf.nl>
In-Reply-To: <9612111740.AA13674@trem.cnt.org.br> from "Rodrigo Ormonde" at Dec 11, 96 02:40:27 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Rodrigo Ormonde wrote...
>   Helo.
> 
>   I have to write a program to show the user the names of the currently 
> configured network interfaces. (something like netstat -in)
>   The problem is that I have no idea how this could be done inside a C program

I don't know, but wouldn't a short peek in the netstat source code tell
you how they do it?

Wilko
_     ____________________________________________________________________
 |   / o / /  _  Bulte  email: wilko@yedi.iaf.nl - Arnhem, The Netherlands
 |/|/ / / /( (_) 	Do, or do not. There is no 'try' - Yoda
--------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612111851.TAA00689>