A new socket implementation / api
Alan Bateman
Alan.Bateman at oracle.com
Tue Aug 23 02:23:52 PDT 2011
Noctarius wrote:
> :
> Hi Alan,
>
> it's nice to see that there was some internal discussions at SUN
> back than. Are there any plans at Oracle?
>
> To the technical part:
> I would prefer the SocketAddress type which is equivalent to the C
> apis for socket programing and so the api changes would be minimal.
> There needs to be an constructor for sockets to get the
> SocketAddress to build up the internal socket.
>
> There were changes for Java 7 to implement some new protocol stuff
> or am I wrong? Does someone has the JSR number?
>
> If there is interest I would try to write an JSR for the socket
> changes in hope that someone will help out if I have questions :).
>
>
At some point we should go back to it but I'm not aware of any immediate
plans. One thing that was an issue at the time was multiplexing (via the
Selector) pipes and sockets on Windows. By "protocol stuff" then I
assume you mean java.net.ProtocolFamily and
java.net.StandardProtocolFamily. These were added as part of the
multicast support in Java SE 7.
-Alan
More information about the nio-discuss
mailing list