protected void acceptSocket() {
        try {
            Socket socket;
            socket = serverSocket.accept();
            boolean equal = false;
            for (EziPeer p : peers) {
                if (p.getSocket().getInetAddress().equals(socket.getInetAddress())) {
                    equal = true;
                    break;
                }
            }

            if (!equal && (socket.getInetAddress().toString().equals(socket.getLocalAddress().toString()))) {
                EziPeer peer = new EziPeer(socket, distributor);
                peer.sendObject(new EziInfoPacket(indexer.getEziInfoList()));
                peers.add(peer);
                System.out.println("Client: Accepted: " + socket.getInetAddress().toString());
            }
        } catch (IOException ex) {
            Logger.getLogger(EziUpload.class.getName()).log(Level.SEVERE, null, ex);
        }
    }