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, _
    ByRef asyncHandle As Integer _
)
C# public void FindHosts(
    ApplicationDescription applicationDescription,
    Address hostAddress,
    Address deviceInformation,
    NetworkPacket userEnumData,
    int count,
    int retryInterval,
    int timeOut,
    FindHostsFlags flags,
    out int asyncHandle
);
C++ public:
void FindHosts(
    ApplicationDescription applicationDescription,
    AddresshostAddress,
    AddressdeviceInformation,
    NetworkPacketuserEnumData,
    int count,
    int retryInterval,
    int timeOut,
    FindHostsFlags flags,
    [Out] intasyncHandle
);
JScript public function FindHosts(
    applicationDescription : ApplicationDescription,
    hostAddress : Address,
    deviceInformation : Address,
    userEnumData : NetworkPacket,
    count : int,
    retryInterval : int,
    timeOut : int,
    flags : FindHostsFlags,
    asyncHandle : int
);

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
asyncHandle System.Int32

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