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