public boolean connect(){
		try {
			socket = new Socket(hostName, port);
			
			input = new InputListener(this, socket.getInputStream());
			input.start();
			output = new OutputWriter(this, socket.getOutputStream());
			output.start();
					
			
			output.write("NICK " + nick + "\r\n");
			//output.flush();
			output.write("USER Dinosaur " + 0 + " * " + ":" + "Dinosaur" + Main.version + "\r\n");
			//output.flush();
			return true;
		} 
		
		catch (UnknownHostException e) {} 
		catch (IOException e) {}
		return false;
	}