JDK-4640544 : New I/O: Complete socket-channel functionality
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 1.3.0,1.4.0,1.4.1,1.4.2,5.0,6,7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS:
    generic,other,linux,windows,windows_nt,windows_xp generic,other,linux,windows,windows_nt,windows_xp
  • CPU: generic,unknown,x86
  • Submitted: 2002-02-20
  • Updated: 2017-05-16
  • Resolved: 2011-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7 b36Fixed
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
The socket, server-socket, and datagram-socket channel classes in the
java.nio.channels package rely upon the corresponding socket, server-socket,
and datagram-socket classes in the java.net package for operations such as
binding and option configuration.

Many developers find this dependency counterintuitive and have asked for the
ability to write networking code without having to mix the java.net socket and
java.nio socket-channel APIs.  Revising the socket-channel classes so that they
can be used alone would also resolve some tensions in the implementation and
the specification, and would make life easier for those (relatively few)
developers who need to write their own SelectorProvider implementations.
See also CR # 6230761

EVALUATION This has been integrated for jdk7 build b36. The changes include multicasting and support for the new IPv6 stack in Windows Vista/2008.

EVALUATION As part of NIO.2/JSR-203 we have updated the network-oriented channels so that channel's socket can be bound and socket options manipulated directly. The API also allows for platform/implementation specific socket options to be supported beyond those required by the specification.

EVALUATION Under consideration for Tiger. -- ###@###.### 2002/2/20