Advertisement Jump to content
Sign in to follow this  

Please help! DirectPlay Close() function

This topic is 4996 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!