[sctp-dev] Setting "Traffic Class" to a SctpChannel

Chris Hegarty chris.hegarty at oracle.com
Tue Jul 12 02:35:11 PDT 2011


On 07/ 7/11 03:09 PM, Michal Lefler wrote:
> Hi.
> Is there a way in which I can set the traffic class to a
> com.sun.nio.sctp.SctpChannel instance?

Currently there is no way of setting the traffic class on an 
SctpChannel. In our experience traffic class was not widely used and 
there were no requests for supping it in SCTP.

Since socket options are supported through the SctpSocketOption 
interface and the channel can report its supported options, 
supportedOptions(), then it may be possible to support implementation 
specific options in the future.

Is this something that is really important to you?

-Chris.

> I mean something similar to the TCP option:
> java.net.Socket.setTrafficClass(int tc);
>
> Thanks,
> Michal.
>


More information about the sctp-dev mailing list