This paper presents a cooperative peer clustering scheme for unstructured peer-to-peer systems, emphasizing the importance of critical links and a retaliation rule to improve overall performance. The proposed method encourages cooperation among peers to maximize profit while maintaining network connectivity and shows favorable simulation results compared to existing schemes. By utilizing a tit-for-tat strategy, the scheme effectively incentivizes collaborative behavior, leading to improved search hit rates and higher profits for cooperative peers.