Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


DirectPlay issue

This topic is 5966 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 can’t figure how to use DPN_MSGID_INDICATE_CONNECT. In my host message handler I need to check some conditions required for the client to connect (this conditions are set in the pvUserConnectData). So when I receive the DPN_MSGID_INDICATE_CONNECT, I cast the pMsgBuffer to a DPNMSG_INDICATE_CONNECT structure. Then I have tried to return data via the pvReplyData. I have tried to return a HRESULT, a DPN_MSGID_CONNECT_COMPLETE structure with the desired HRESULT and it does not work. The data are globales. What is wrong? What do I need to do to send back a connection refused message? Thank you for your help.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!