[sctp-dev] SCTP in blocking mode

Alan Bateman Alan.Bateman at oracle.com
Thu Mar 1 02:27:22 PST 2012


On 01/03/2012 10:23, Amir Eliaz wrote:
>
> Hello,
>
>    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.
>
> Thanks,
>
> --Amir
>
You can't use channels configured blocking with Selectors.

-Alan.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/sctp-dev/attachments/20120301/28988220/attachment.html 


More information about the sctp-dev mailing list