Taking advantage of TCP Loopback fast path in Windows
Kirk Shoop (MS OPEN TECH)
Kirk.Shoop at microsoft.com
Thu Oct 2 18:17:35 UTC 2014
From: Alan Bateman [mailto:Alan.Bateman at oracle.com]
On 24/09/2014 19:21, Kirk Shoop (MS OPEN TECH) wrote:
My memory is that setting it on the socket before calling
listen did not work. However, we will try again and verify.
It would be good to check, it may be that we just need to set it
after the listen (in the case of listener oriented channels) and that can
also be done locally without extensive changes.
We tried the suggestions in this thread and the result is a much smaller patch that works as well as the previous patch.
https://openjdkcontrib.blob.core.windows.net/tcploopback/webrev-20141002.zip
GetVersionEx is not used and the IOCTL is applied when the socket is constructed.
Thanks for sending us back for another look,
Kirk
More information about the nio-dev
mailing list