[sctp-dev] SCTP in blocking mode
Alan.Bateman at oracle.com
Thu Mar 1 04:57:45 PST 2012
On 01/03/2012 12:54, Amir Eliaz wrote:
> Thanks Alan.
> 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.
When you say "oio", do you mean the classic networking APIs, as in
Socket and ServerSocket? The SCTP API that is included in the JDK is
based on NIO. This means it can be used in both blocking and
non-blocking mode. When multiplexing (via a Selector) then the channels
have to configured non-blocking.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sctp-dev