Hi Roman,

This method was added as part of the changes for 4868820: "IPv6 support for Windows XP and 2003 server", back in 1.5. But I cannot see anywhere that it is called, or as you said even implemented, even when it was originally added. I suspect that it was left over from some redesign when adding the IPv6 support.

I actually noticed this went adding support for the dual TCP/IP stack in vista, DualStackPlainSocketImpl, and even added a comment to remind me to remove it!

I will file a new bug against this to have it removed and update this mailing list with the bug number when I have it.

-Chris.

Alan Bateman wrote:

It may be used in the Windows implementation - the networking group will know.

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

Subject:
PlainSocketImpl.socketGetOption1() ?
From:
Roman Kennke <[EMAIL PROTECTED]>
Date:
Wed, 10 Oct 2007 22:42:21 +0200
To:
Core-Libs-Dev <[EMAIL PROTECTED]>

To:
Core-Libs-Dev <[EMAIL PROTECTED]>


Hi list,

The PlainSocketImpl family of classes have a method socketGetOption1(),
which is required by the AbstractPlainSocketImpl class, and implemented
by the subclasses, but apparently never used. There isn't even a native
implementation for the native method in PlainSocketImpl. Could this
method be removed, or is there another story behind this?

/Roman

Reply via email to