IDirectPlay8Client handling message DPN_MSGID_TERMINATE_SESSION

Started by
-1 comments, last by FVector4 22 years, 7 months ago
Hi, Using IDirectPlay8Client. When a DPN_MSGID_TERMINATE_SESSION is received in this case due to the server being lost (but possible through normal shutdown). What is the best procedure in handling this, bearing in mind that the player may wish to enummerate other available game sessions and connect to a new one. Do I need to call IDirectPlay8Client::Close() and go through my normal shutdown procedures? At the moment this seems to be causing big problems. What about DPN_MSGID_DESTROY_PLAYER and DPN_MSGID_DESTROY_GROUP, is it possible that the client could receive such messages after the DPN_MSGID_TERMINATE_SESSION. Hummm... I''m begining to really hate DirectPlay! cheers?

This topic is closed to new replies.

Advertisement