IBitsPeerCacheAdministration::DiscoverPeers method (bits3_0.h)

Generates a list of peers that can serve content.

Syntax

HRESULT DiscoverPeers();

Return value

The method returns the following return values.

Return code Description
S_OK
Success

Remarks

You should not have to call this method.

BITS automatically discovers new peers when a job requests content from a peer and there are not enough peers in the client's peer list. Peers must be in the same Windows domain and subnet as the client and be enabled to serve content to peers.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header bits3_0.h (include Bits.h)
Library Bits.lib

See also

IBitsPeerCacheAdministration

IBitsPeerCacheAdministration::ClearPeers

IBitsPeerCacheAdministration::EnumPeers