37. The peer node as recited in claim 35 , wherein the program instructions are further executable to: receive a discovery query message including one or more criteria describing a resource, wherein the discovery query message is formatted in accordance with a discovery protocol; and send a response message in response to the discovery query message including one or more advertisements of resources that match the one or more criteria, wherein each of said one or more resource advertisements includes a description of how to access the corresponding resource, wherein the response message is formatted in accordance with the discovery protocol.
37. The peer node as recited in claim 35 , wherein the program instructions are further executable to: receive a discovery query message including one or more criteria describing a resource, wherein the discovery query message is formatted in accordance with a discovery protocol; and send a response message in response to the discovery query message including one or more advertisements of resources that match the one or more criteria, wherein each of said one or more resource advertisements includes a description of how to access the corresponding resource, wherein the response message is formatted in accordance with the discovery protocol. 44. The peer node as recited in claim 37 , wherein, to publish the peer advertisement on the network, the program instructions are further executable to send the peer advertisement to one or more other peer nodes on the network.