Microsoft DirectX 8.0 (C++)

Voice Host Migration

In a peer-to-peer Microsoft® DirectPlay® network session, one client of the networking session acts as host. If that host should exit the session or stop responding for any reason, another client in the session is elected as host.

In a DirectPlay voice session, a similar process of host migration occurs in peer-to-peer voice sessions, except that the voice host migrates independently of the DirectPlay network session. The voice host migrates when the server calls IDirectPlayVoiceServer::StopSession or if the voice host stops responding. When the voice host migrates, each client in the voice session receives a DVMSG_HOSTMIGRATED callback. The structure passed to the new host has a valid pdvServerInterface pointer and can begin making IDirectPlayVoiceServer calls.