private void processConnection() throws IOException,
                ClassNotFoundException {
            try {
                PeerDiscoveryPacket packetData = (PeerDiscoveryPacket) input
                        .readObject();
                
                FOUND = false;
                for (int h = 0; h < nodeTable.size(); h++) {
                    System.out.println("PEERDISCOVERY>>> Im here");
                    if (packetData.getIP().compareTo(nodeTable.get(h).getIP()) == 0) {
                        nodeTable.set(h, packetData);
                        FOUND = true;
                        System.out
                                .println("PEERDISCOVERY>>> Packet Data Updated - IP address of Packet is "
                                        + packetData.getIP());
                    }
                }
                if (FOUND != true) {
                    nodeTable.add(packetData); // add new packet
                }
                
                prepareToSendDataToPeers();
                
            } // end try
            catch (ClassNotFoundException classNotFoundException) {
                System.out
                        .println("\nPEERDISCOVERY>>> Unknown object type recieved");
            }

        }// end processConnection