title: Why Tomcat's Non-Blocking Connector is using a blocking socket?
body: <p>I was reading about Non-blocking I/O, java NIO and tomcat connectors, looked at the code of tomcat's NIO Connector, and <a href="http://grepcode.com/file/repo1.maven.org/maven2/org.apache.tomcat/tomcat-coyote/8.0.0-RC5/org/apache/tomcat/util/net/NioEndpoint.java#NioEndpoint.bind%28%29" rel="nofollow">found this in <code>NioEndpoint.bind()</code></a>:</p>
  
  <pre><code>serverSock.configureBlocking(true); //mimic APR behavior
  </code></pre>
  
  <p>I don't have experience with NIO, so can someone explain how it is non-blocking when the socket is configured to be blocking?</p>