public void oldConnectImpl(SocketAddress addr, ConnectionCallback c) throws IOException, InterruptedException {
		if(c == null)
			throw new IllegalArgumentException(this+"ConnectCallback cannot be null");

		if(apiLog.isLoggable(Level.FINE))
			apiLog.fine(this+"Basic.connect-addr="+addr);
		
		boolean connected = channel.connect(addr);
		if(log.isLoggable(Level.FINER))
			log.finer(this+"connected status="+connected);

		setConnecting(true);
		if(connected) {
			try {
				c.connected(this);
			} catch(Throwable e) {
				log.log(Level.WARNING, this+"Exception occurred", e);
			}
		} else {
			getSelectorManager().registerChannelForConnect(this, c);	
		}
	}