public static boolean connect(FileDescriptor fd,InetAddress inetAddress,int port) throws SocketException {
  try {
    return IoBridge.connect(fd,inetAddress,port,0);
  }
 catch (  SocketTimeoutException ex) {
    throw new AssertionError(ex);
  }
}

public static boolean connect ( FileDescriptor fd , InetAddress inetAddress , int port ) throws SocketException { try { return IoBridge . connect ( fd , inetAddress , port , 0 ) ; } catch ( SocketTimeoutException ex ) { throw new AssertionError ( ex ) ; } }
connects socket ' fd ' to ' inetaddress ' on ' port ' , with no timeout . the lack of a timeout means this method won ' t throw sockettimeoutexception .
