Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / How to enforce client names on a network

Author
Message
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 25th Jan 2012 22:17
Does anyone know how to do this? I can't find out how this is enforced. The rules are:

1. every client on the network must have a unique name
2. JoinNetwork() must supply your client name
3. you can't get the other client names until you've joined the network

I'm going to try and work it out, but it means deploying some test code to 3 devices - one host and two clients to join with same name. As Captain Oates once said, I may be gone some time...

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 25th Jan 2012 23:48
Got the code in place, unfortunately after my daughter had gone to bed, so need to wait to connect 2 clients with same name!

LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 27th Jan 2012 01:21
Steve, email me directly if you wind up hitting your head against a wall over this issue. I do want AppGameKit networking to be one of the jewels in this product, I suspect we'll be hammering the features a LOT as we move into 2012!

I drink tea, and in my spare time I write software.

Login to post a reply

Server time is: 2024-11-23 01:50:59
Your offset time is: 2024-11-23 01:50:59