[sctp-dev] Using SctpMultiChannel
Chris
devnullaccount at yahoo.se
Thu Aug 11 05:03:33 PDT 2011
Hi,
I'm trying to use SctpMultiChannel to get multiple associations on the same socket (same local port/IP but different remote endpoints), but I can't for the life of me figure out the API (http://openjdk.java.net/projects/sctp/javadoc/com/sun/nio/sctp/SctpMultiChannel.html)
I get that I should do SctpMultiChannel.open() to create an instance and that I should bind it to my local address(es).
But then I want to use something like connect() (like on a regular SctpChannel), but there's no such method, or anything similar as far as I can see. And the only way to get a regular SctpChannel out of this class seems to be branch(Accociation), but that's not either an option since I need to have an association to call that.
What am I missing?
TIA,
Chris
More information about the sctp-dev
mailing list