Cooperative Code Acquisition based on the P2P Paradigm