On Feb 15, 4:39 pm, "Wan-Teh Chang" <[EMAIL PROTECTED]> wrote: > On Fri, Feb 15, 2008 at 2:35 AM, D3||||!$ <[EMAIL PROTECTED]> wrote: > > Hi All!!! > > > I am looking for a standard NSS/NSPR function which when called should > > return and/or the local IP address and the port number to which SSL is > > bound on the system. > > Use the NSPR function > PR_GetSockName:http://developer.mozilla.org/en/docs/PR_GetSockNamehttp://www.mozilla.org/projects/nspr/reference/html/priofnc.html#19250 > > Wan-Teh
i have the same question, i need the Local IP. I create a socket, call PR_GetSockName, it returns 0.0.0.0 (on a mac with a recent, but not the most recent release of NSPR) so, not only is this not working, but this should not be the way to do this anyway, there should be a way to get the local IP without creating a socket. _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto