SCTP for Java

David M. Lloyd david.lloyd at redhat.com
Tue Aug 26 06:41:03 PDT 2008


On 08/20/2008 04:37 AM, Alan Bateman wrote:
> Florian Weimer wrote:
>> :
>> 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.

No, it's not. :-)

> FWIW, a while back I prototyped an "in tree" solution for SocketChannel. 
> The primary motive was to allow for Sockets Direct Protocol (which uses 
> IP addressing) and Unix Domain Sockets (which required a new 
> SocketAddress type).

I disagree here.  Just because C has traditionally used struct sockaddr in 
an overloaded fashion doesn't mean it's a good idea to mirror this on the 
Java side.

- DML



More information about the net-dev mailing list