Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Peer.Host

Specifies the host for the peer-to-peer session.

Host(AppDesc As DPN_APPLICATION_DESC, _
    Address As DirectPlay8Address)

Parts

AppDesc
DPN_APPLICATION_DESC type that describes the application.
Address
DirectPlay8Address object that specifies an addresses of a service-provider device or a service provider to host the application on.

Error Codes

If the method fails, Err.Number can be set to the following value.

DPNERR_INVALIDPARAM