Reviewed.
As you said, this is not the default implementation on recent Windows
platforms, but possibly worth fixing so it can be backported to older releases.
On this point, there is potential here for a lot of cleanup, even removal of
the TwoStacks implementation in 9. I think this would be a
Hello!
In the implementation of TwoStack sockets on Windows there's is a
possibility of trying to close the sockets twice in the case of a failure.
TwoStack implementation isn't the default one, but it still can be used
with jdk7u/8u on old platforms.
Would you please help review the fix?
BU