apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: Enumerating local IP addresses
Date Sat, 02 Oct 2004 16:52:27 GMT
On Fri, Oct 01, 2004 at 07:17:09PM -0600, David Barrett wrote:
> I'm happy to report that thanks to APR, I can now successfully cross-compile
> my server under Win32 and Unix, and run it on both!  I can't thank you all
> enough for your wonderful library!
> 
> So now that I'm running, however, I'm encountering some issues.  The first
> is as follows: how do I enumerate the IP addresses of the server?  My basic
> algorithm is as follows:

Finding all configured addresses can't be done with getaddrinfo, there 
are various non-portable interfaces for doing this like getifaddrs().

joe

Mime
View raw message