in reply to Re^5: Socket::getaddrinfo and localized error messages on Windows
in thread Socket::getaddrinfo and localized error messages on Windows

In both cases the code of the Socket module is used. If the system doesn't provide the getaddrinfo function it is emulated by the Socket module.
  • Comment on Re^6: Socket::getaddrinfo and localized error messages on Windows

Replies are listed 'Best First'.
Re^7: Socket::getaddrinfo and localized error messages on Windows
by syphilis (Archbishop) on Apr 25, 2022 at 00:57 UTC

      Thanks for all this information, however the system getaddrinfo function is already used in my case (and in your case also I think ?).

      Indeed the error constants used aren't the ones defined for the emulated versions. Same for the error messages. Your message made me wonder if it was really the case, so I also added debug traces in Socket.pm to make sure of it.

      So I don't think your proposal (defining d_getaddrinfo and others) could change anything regarding the problem, but maybe I missed something or misunderstood ?

        So I don't think your proposal (defining d_getaddrinfo and others) could change anything regarding the problem

        Aaah ... yes ... I think that's right. As I noted at the end of my Socket bug report, the bug I reported there is in the config settings, not the Socket module.
        Sorry for the interference ... I'll leave you in peace to get on with it.

        Cheers,
        Rob