P2p (peer-to-peer) networks consist of devices such as web servers or personal computers that participate with the same hierarchy in…