code: private void doSocketConnect(InetSocketAddress addr) throws IOException{
          SocketChannel sock = createSock();
          registerAndConnect(sock, addr);
      }
docs: Do the Socket connect.
  
  @param addr
  the remote address.
  @throws IOException
  the IOException.