Peer.FindHosts Method

Language:

Warning: This method is deprecated. Deprecated components of Microsoft DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.
Enumerates applications that host Microsoft® DirectPlay® games. Deprecated.

Definition

Visual Basic Public Sub FindHosts( _
    ByVal applicationDescription As ApplicationDescription, _
    ByVal hostAddress As Address, _
    ByVal deviceInformation As Address, _
    ByVal userEnumData As NetworkPacket, _
    ByVal count As Integer, _
    ByVal retryInterval As Integer, _
    ByVal timeOut As Integer, _
    ByVal flags As FindHostsFlags _
)
C# public void FindHosts(
    ApplicationDescription applicationDescription,
    Address hostAddress,
    Address deviceInformation,
    NetworkPacket userEnumData,
    int count,
    int retryInterval,
    int timeOut,
    FindHostsFlags flags
);
C++ public:
void FindHosts(
    ApplicationDescription applicationDescription,
    AddresshostAddress,
    AddressdeviceInformation,
    NetworkPacketuserEnumData,
    int count,
    int retryInterval,
    int timeOut,
    FindHostsFlags flags
);
JScript public function FindHosts(
    applicationDescription : ApplicationDescription,
    hostAddress : Address,
    deviceInformation : Address,
    userEnumData : NetworkPacket,
    count : int,
    retryInterval : int,
    timeOut : int,
    flags : FindHostsFlags
);

Parameters

applicationDescription Microsoft.DirectX.DirectPlay.ApplicationDescription
hostAddress Microsoft.DirectX.DirectPlay.Address
deviceInformation Microsoft.DirectX.DirectPlay.Address
userEnumData Microsoft.DirectX.DirectPlay.NetworkPacket
count System.Int32
retryInterval System.Int32
timeOut System.Int32
flags Microsoft.DirectX.DirectPlay.FindHostsFlags

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center