[sctp-dev] SCTP in blocking mode
amir.eliaz at traffixsystems.com
Thu Mar 1 04:54:16 PST 2012
Yes, we are aware of this. We thought there is a way to have Sctp use oio sockets in blocking mode.
But it looks impossible since the whole API is based on nio and we couldn’t find any oio sctp implementation.
That led me to wonder why the project's Javadoc mentions non-blocking mode in several APIs.
From: Alan Bateman [mailto:Alan.Bateman at oracle.com]
Sent: Thursday, March 01, 2012 12:27 PM
To: Amir Eliaz
Cc: sctp-dev at openjdk.java.net
Subject: Re: [sctp-dev] SCTP in blocking mode
On 01/03/2012 10:23, Amir Eliaz wrote:
We are trying to have Sctp perform in blocking mode.
>From the Javadoc we understand it's supported, but we're unable to make it work as we keep getting IllegalBlockingModeExceptions.
Using configureBlocking(true) will cause register() to fail, so we tried to surround the calls to send() with configureBlocking(true/false).
This also caused the exception immediately.
Any help will be appreciated.
You can't use channels configured blocking with Selectors.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sctp-dev