public void connect(SocketAddress addr) throws IOException {
  attemptUpdateInterestOps();
  channel.connect(addr);
}

public void connect ( SocketAddress addr ) throws IOException { attemptUpdateInterestOps ( ) ; channel . connect ( addr ) ; }
connect to a remote socket . to monitor connect result , set connectlistener first .
