Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Server.GetClientAddress

Retrieves the address for the specified player in the session.

GetClientAddress(idPlayer As Long) As DirectPlay8Address

Parts

idPlayer
Long value specifying the identification of the player.

Return Values

Returns a DirectPlay8Address object that specifies the address of the player.

Error Codes

If the method fails, Err.Number can be set to one of the following values.

DPNERR_INVALIDOBJECT
DPNERR_UNINITIALIZED