Re: How to find out the IP(s) of your machine

Joachim Ziegler <[email protected]>
Newsgroups gmane.comp.mozilla.devel.nspr
Message-ID <[email protected]>
Wan-Teh Chang wrote:
> The proper way is to call the BSD function getifaddrs or its equivalent
> on other platforms.  Unfortunately there is no NSPR function that does
> this.
> 

Thank you, Wan-Teh.

On my Debian GNU/Linux, there is no getifaddrs(), but there is
getaddrinfo().

This means, to stay portable, I should stick to my complex solution.

Joachim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.