* Christopher Hegarty: > I just sent a mail to the nio-discuss [1] mailing list requesting > feedback on a proposed Java API for SCTP. If you are interested in > this topic please read this mail which provides a some details and a > link to the API. Feedback is really welcome.
I've been wondering for a while if it is possible (with reasonable additional effort) to add new socket and socket address classes without patching the JDK sources. Otherwise, you won't get any interoperability with existing code, you need to deal with the fine points of concurrent close, and you won't get proper thread interruption handling. Right now, we use a custom, sockets-like class for UNIX domain sockets, but it has the listed drawbacks (except that I think I worked around the concurrent close issue in a similar way to the JVM). (Obviously, an out-of-tree approach to new socket types would make it easier to experiment.)