public Communication(){
		
		try{
			socket = new Socket("localhost", 5555);
			transmit = new PrintWriter(socket.getOutputStream(), true);
			receive = new BufferedReader(new InputStreamReader(
					socket.getInputStream()));
			socket.setSoTimeout(60); //TODO Is that reasonable?
		}catch(UnknownHostException | SocketException ex){
			System.out.println("Error : Cannot initialize socket connection.");
			System.exit(0);
		}catch(IOException ex){
			ex.printStackTrace();
			System.exit(0);
		}
	}