Java API for SCTP

Alan Bateman Alan.Bateman at Sun.COM
Sat Nov 1 03:38:13 PDT 2008


Dennis Hjort wrote:
> Hi,
>
> I am writing to find out the current status on the support for SCTP in 
> java. When I googled around, I found the posts made by Christopher 
> Hegarty [1] which is a pretty recent post, and wanted to express my 
> interest in what I hope is a open support for SCTP, as the project I'm 
> currently working in today has to rely on the Java SCTP API offered by 
> Ivan Skytte Jörgensen [2], which is a JNI package which does not have 
> all functionality that the SCTP socket draft specifies.
>
> Our project (which is a telecom project) needs the SCTP support to be 
> able to communicat with the system under test, and a native Java 
> support would be great. We would like to have non-blocking SCTP 
> instead of our current implementation which has to support the 
> blocking SCTP read/write the JNI library implements, which creates the 
> need for a pretty advanced handling.
>
> I see that the draft for SCTP currently lies in com.sun.nio.sctp [3], 
> so it has not reached the general audience yet, and I hope I can show 
> that there exists interest for it.
>
> Also, please send contact me if I can help in any way for it to get 
> into the JDK release 7.
> <http://fc.hack.org/>
There was a recent vote to sponsor this project [1] and it should be 
setup soon. I'm sure Chris will send a note to this mailing list when it 
is created.

As regards non-blocking - yes, it is integrated with the 
multiplexing/Selector API. For now the implementation is making use of 
an internal API for this. In the medium term we hope to define a 
provider-specific API to allow other selectable channel types to 
register with the Selector.

-Alan.

[1] http://mail.openjdk.java.net/pipermail/discuss/2008-October/001348.html




More information about the nio-discuss mailing list