Re: How to find out the IP(s) of your machine
"Wan-Teh Chang" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Message-ID | <[email protected]> |
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. There is some code along that line in prnetdb.c: http://mxr.mozilla.org/nspr/source/nsprpub/pr/src/misc/prnetdb.c#201 Wan-Teh