![](wink.gif)
Getting your local (host) player's DPNID?
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!
![](wink.gif)
Learn about game programming!Games Programming in C++: Start to Finish
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement