Microsoft DirectX 8.1 (Visual Basic) |
Retrieves the local addresses used to host the session.
GetLocalHostAddress(lFlags As Long) As DirectPlay8Address
Returns the DirectPlay8Address object that specifies the local host addresses.
If the method fails, Err.Number can be set to one of the following values.
DPNERR_BUFFERTOOSMALL |
DPNERR_INVALIDOBJECT |
DPNERR_INVALIDPARAM |
DPNERR_INVALIDPOINTER |
DPNERR_UNINITIALIZED |
DPNERR_NOTHOST |
If the caller is not the session host, the error code is DPNERR_NOTHOST. Use DirectPlay8Peer.GetPeerAddress to retrieve the address of a remote player.