Sign in to follow this  

Retrieving list of all players from the server in Client/Server session

Recommended Posts

MikeyK65    122
Hi there, I'm writing a small Client/Server app in DirectPlay. I want my client to get a list of all players in the current session. Is this possible and if so how do I do it? Cheers.

Share this post

Link to post
Share on other sites
Niruth    122
I have 2 way to solve.
First, use enumplayer from server and send back to the client by char*
when new player connect to server, add them into server's linked list. So, when the new player comes, send every player's name from linked list back to him and then also send the freshy player to everybody.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this