RFR: 8308593: Add Keepalive Extended Socket Options Support for Windows [v2]

Alan Bateman alanb at openjdk.org
Thu Jul 20 12:43:42 UTC 2023


On Wed, 19 Jul 2023 16:55:28 GMT, Michael McMahon <michaelm at openjdk.org> wrote:

> I think it is right to change the `errno` to `WSAGetLastError`. There is an errno.h in VC++ which must be getting included indirectly. It is used in hotspot. But, we shouldn't be using it in the networking code.

Right, WSAGetLastError should be used with Windows Sockets, not errno.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14232#issuecomment-1643854397


More information about the net-dev mailing list