[sctp-dev] java SctpMultiChannel example required

Chris Hegarty chris.hegarty at oracle.com
Mon Nov 3 10:49:57 UTC 2014


On 02/11/14 22:10, Prince Bhanwra wrote:
> Hi Team,
> I am using java nio.sctp to create M3UA stack.
>
> I am successfully able to create stack with SctpChannel. However I am
> unable to find how to _connect _to destination machine with
> SctpMultiChannel.

There is no need to explicitly call connect when using SctpmultiChannel. 
A connection will be implicitly performed, if needed, when you send a 
message to a server.

> Could you please provide me a small example of SctpMultiChannel client.

http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/test/com/sun/nio/sctp/SctpMultiChannel/Send.java

-Chris.

> Thanks in advance!
>
> Kind Regards,
> *Prince Bhanwra*
> +32 466255839


More information about the sctp-dev mailing list