Patent ID: 8332482

Claim:
A method comprising: controlling, with a file server, a database of stored content files, wherein each of the stored content files encodes a material and contains an embedded executable code, said embedded executable code causing at least one advertisement to be presented to request issuing peers of a peer-to-peer network each time a content file of the stored content files is utilized; configuring a result server to act as a node in the peer-to-peer network, said peer-to-peer network being organized loosely without any centralized management authority, and to follow rules and protocols of the de-centralized peer-to-peer network; probing, with the result server, peer-to-peer network traffic to discover one or more file search requests from request issuing peers, said one or more file search requests seeking material; searching a local database of the result server for names of files satisfying a discovered file search request; and conveying, with the result server, search results to the request issuing peer, said search results satisfying the discovered file search request, wherein the request issuing peer causes transmission of a request to the file server for a content file containing sought material, wherein the file server responds to the request by sending the content file to the request issuing peer, the content file including a copy of the sought material and the embedded executable code, and wherein each time the content file received from the file server is utilized, the embedded executable code is executed and presents the request issuing peer with at least one advertisement before or during playback of the material of the received content file.