public void startPeerDiscoveryConnection() {
		try {
			connectToPeerDiscovery(); // Connect to a Server
			setupStreamsPD(); // Creates data streams
			Thread t1 = new Thread(new Runnable() {

				@Override
				public void run() {
					try {
						listenPD(); // Allows messaging back and forth
					} catch (Exception e) {
						e.printStackTrace();
					}
				}
				
			});
			t1.start();
		} catch (EOFException eofException) {
			showMessage("\n Client Closed the Connection");
		} catch (IOException ioException) {
			ioException.printStackTrace();
		}
	}