private void setUPConnection(InetAddress addr) {
		try{
//			sock = new Socket(addr, PORT_NUM);
//			in = new BufferedReader(new InputStreamReader(sock.getInputStream()));
//			out = new PrintWriter(sock.getOutputStream(), true);
		} catch(Exception e) {
			JOptionPane.showMessageDialog(null, "Could not connect");
			System.out.println("Could not connect.");
			e.printStackTrace();
		}
	}