4.2 Version 2.0 Probe Message
Version 2.0 Probe message
-
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:PeerDist= "http://schemas.microsoft.com/p2p/2007/09/PeerDistributionDiscovery"> <soap:Header> <wsa:To> urn:schemas-xmlsoap-org:ws:2005:04:discovery </wsa:To> <wsa:Action> http://schemas.xmlsoap.org/ws/2005/04/discovery/Probe </wsa:Action> <wsa:MessageID> urn:uuid:91528b47-b96d-4e30-981f-308c0586926f </wsa:MessageID> </soap:Header> <soap:Body> <wsd:Probe> <wsd:Types> PeerDist:PeerDistDataV2 </wsd:Types> <wsd:Scopes MatchBy= "http://schemas.microsoft.com/p2p/2010/05/PeerDistV2MatchingRule"> ACACI74aAQAAAAAwHRoBAAAAAEEAQQBEAHkAZwBNAE0AMQAjvhoBAAAAADAdGgEAAAAAQQBBAEQAeQBnAE0ATQAxAA== </wsd:Scopes> </wsd:Probe> </soap:Body> </soap:Envelope>
The <scopes> element in this example contains the following values:
-
Segment Hash Size = 32 Bytes Segment Hash Count = 2 HoHoDK 1 = 23BE1A0100000000301D1A0100000000410041004400790067004D004D003100 HoHoDK 2 = 23BE1A0100000000301D1A0100000000410041004400790067004D004D003100
Other peer nodes that receive this Probe message check whether the HoHoDks in the Probe identify a segment at least some blocks of which are available locally. If a match is found, the node sets a backoff timer and replies with the ProbeMatch message after the timer expires, as described in section 4.3 for version 1.0 and 4.4 for version 2.0.