Distributed strategic learning for effective gossiping in wireless networks