From princebhanwra at gmail.com Sun Nov 2 22:10:47 2014 From: princebhanwra at gmail.com (Prince Bhanwra) Date: Sun, 2 Nov 2014 23:10:47 +0100 Subject: [sctp-dev] java SctpMultiChannel example required Message-ID: 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. Could you please provide me a small example of SctpMultiChannel client. Thanks in advance! Kind Regards, *Prince Bhanwra* +32 466255839 -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.hegarty at oracle.com Mon Nov 3 10:49:57 2014 From: chris.hegarty at oracle.com (Chris Hegarty) Date: Mon, 03 Nov 2014 10:49:57 +0000 Subject: [sctp-dev] java SctpMultiChannel example required In-Reply-To: References: Message-ID: <54575DD5.5020403@oracle.com> 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