Advertisement

Please help! DirectPlay Close() function

Started by May 14, 2005 06:07 AM
-1 comments, last by Reinhart 19 years, 9 months ago
I have 2 questions, and I'm running out of time on my project, so please help! 1) When I call the IDirectPlay8Server::Close function, it doesn't even get to the point where it returns a value. My program simply hangs. Can anyone tell me why this would happen? I avoided the above problem with my client by using the DPNCLOSE_IMMEDIATE flag, but I'm not sure if that's a good idea. 2) How can I tell when a client has left the game? When the IDirectPlay8Client::Close function has been called, does it send the DPN_MSGID_DESTROY_PLAYER message to the server program telling it that it has left the game? Currently, I don't detect any message being sent. :S [Edited by - Reinhart on May 15, 2005 6:56:46 AM]

This topic is closed to new replies.

Advertisement