1. A peer-to-peer network system, comprising: a plurality of peers, wherein each peer comprises a network node configured to communicate with one or more other ones of said peers over one or more networks; a plurality of peer services or content provided by one or more of said peers; a service or content advertisement for each of said services or content, wherein each service or content advertisement comprises an identification of a corresponding service or content and an indication of how to access the corresponding service or content; a peer advertisement for each of said peers, wherein each peer advertisement comprises an identification of a corresponding one of said peers and communication address for the corresponding one of said peers, wherein one or more of said peer advertisements further comprises an indication of a service or a content provided by the peer corresponding to that peer advertisement; wherein one or more of said peers are configured to publish their corresponding peer advertisements and one or more of said service or content advertisements in the peer-to-peer network system to be discoverable by other peers; and wherein each advertisement is a separate programming language independent metadata document.
1. A peer-to-peer network system, comprising: a plurality of peers, wherein each peer comprises a network node configured to communicate with one or more other ones of said peers over one or more networks; a plurality of peer services or content provided by one or more of said peers; a service or content advertisement for each of said services or content, wherein each service or content advertisement comprises an identification of a corresponding service or content and an indication of how to access the corresponding service or content; a peer advertisement for each of said peers, wherein each peer advertisement comprises an identification of a corresponding one of said peers and communication address for the corresponding one of said peers, wherein one or more of said peer advertisements further comprises an indication of a service or a content provided by the peer corresponding to that peer advertisement; wherein one or more of said peers are configured to publish their corresponding peer advertisements and one or more of said service or content advertisements in the peer-to-peer network system to be discoverable by other peers; and wherein each advertisement is a separate programming language independent metadata document. 6. The peer-to-peer network system as recited in claim 1 , wherein said plurality of peer services or content comprises a plurality of peer services, and wherein each corresponding service advertisement comprises a pipe advertisement, wherein said pipe advertisement specifies a communication channel on which to send one or more messages to invoke the corresponding service.