Advertisement

Getting your local (host) player's DPNID?

Started by June 13, 2004 09:13 AM
-1 comments, last by wazoo69 20 years, 8 months ago
Hi everyone, I''m putting together a small sample to figure out DirectPlay8 and I''m running into a slight problem. I''m developing a client/server app that can either host or join a session. When the player decides to host a session, the server starts properly but the local player data structure has an invalid DPNID (which I''m expecting). During the update methods in the sample, I detect the following: (a) are we connected? (true/false) (b) are we hosting? (true/false) (c) does the local player have a valid DPNID? (true/false) Once the local player starts a new session, (a) is true, (b) is true and (c) is false, so I''m trying to find a way to query the local host for their DPNID... Am I making sense here?? It''s a bit early for me, so I might not be firing on all cylinders yet.. thanks!
Learn about game programming!Games Programming in C++: Start to Finish

This topic is closed to new replies.

Advertisement