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:
Yeah, getaddrinfo() is not really useful for that. There are various non-portable interfaces like getifaddrs() for doing this. joe