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 / Network - 2 out of 3 OK, one won't broadcast

Author
Message
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 21st Apr 2012 21:02
I have the following devices:

1. Desktop PC (Hard wired to network)
2. Android phone
3. Blackberry FondleSlab

My test code allows me to start any device as a host (multiple times) and to connect to multiple networks as a client. These are the results:

1. Desktop as Host - BB and Android do not see it
2. Android as host - can be seen by all, and joined
3. BB as host - can be seen by all, and joined

Once joined all devices know how many clients are on each host, so the connection is good. I am struggling to understand why the Desktop host cannot be seen.

So then I added a laptop to the mix (I now have 4 screens on my desk, it looks like the Starship Enterprise!) The laptop, running under Windows, can host and broadcast to the other devices.

I don't think the hardwired connection should matter. After all, the application has been distributed to the AppGameKit Players from the primary desktop PC.

Any ideas? This is a potential stumbling block for distributed apps.

Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 21st Apr 2012 23:05 Edited at: 21st Apr 2012 23:06
The App broadcast is technically a misnomer as we had to change the way it worked to get around some devices not being able to receive broadcasts. What actually happens is when you run the AppGameKit player the device itself broadcasts its presence on the network and the compiler picks these up and sends each one a copy of the app.

For hosting a network the device that hosts does the broadcasting so initially I would say that the devices can't receive broadcasts. But your further tests from the android and blackberry where they could connect to each other shows that they can receive broadcasts from each other successfully. This suggests something is stopping the desktop from sending broadcast packets, or they are going out on the wrong network adapter. If you open your network and sharing center and click "change adapter settings" on the left do you see any other adapters that are enabled? If so try right clicking and disabling them (even if they are not connected).
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 22nd Apr 2012 10:27
Thanks Paul I'll check it out and report back.

Login to post a reply

Server time is: 2024-11-23 09:12:30
Your offset time is: 2024-11-23 09:12:30