Quote: "Both devices need to be connected to the same router."
They were both connected to the same router.
Quote: "Your laptop was connected to your internet router and the tablet was connected to a different one."
No, the laptop was not connected to the internet (the external router).
Anyway, this set up allows for the two WiFi to not interfere with each other. (according to its documentation)
The Intel My WiFi Technology allows for the LAN to operate while the computer is connected to the other WiFi for a WAN, or if it is not.
The external connection is not supposed to affect the LAN, but I had the external router shut down except for the time I tried connected both to it.
This built in adapter is supposed to support 8 devices connecting to the LAN, so I was hoping to test using at least 3 or 4 devices at the same time.
The laptop is always connected to this LAN, whether it is connected to the internet or not using the other WiFi, so they were both connected to the same Network.
Quote: "yes, sometimes software routers and even hardware routers are configured to block broadcast UDP packets (like mDNS for example). Maybe you have a firewall/security section to see which feature is disabled or not
"
I have checked all of that and cannot find any setting blocking it.
Typing in the IP to broadcast works on any of my devices, but without that it will not detect any of them.
So, that limits me to testing just one device at a time instead of multiple devices, which is not ideal.
I tried making a build of the code with an edit to use the IP address of the host when Joining clients to the network.
That worked as long as I was broadcasting, but trying to run all clients (including host) as apps did not work.
My hope is to get this networking puzzle figured out, so I can add a 2nd player to "Star Castle" for co-op play.
Right now it is single player in an HTML5 build, but I would love to have a multiplayer APK .
Anyway, the Player is working now for any device that I manually enter the IP address to broadcast to, so I will just have to trial and error the rest.
Thanks guys
Quote: "EDIT"
Okay, so I have been digging deep into these network settings, and I've been experimenting with the optional settings instead of the defaults.
Now, I have the apps working between devices on the LAN without needing to manually Broadcast from AppGameKit or use the Player at all.
I am sure that there is some quirky default setting in the My WiFi that is keeping it from detecting on a broadcast from AppGameKit, so I just need to find it.
I am very happy
to get my apps playing nice together though, so now the real work begins and I think I will start with something simple before diving into Star Castle CE!
Maybe PONG or something simple like that, then onto my old games like Twenty Squares, which really should/would be a nice two player game.
Once I feel more comfortable with the multiplayer commands, then it is on to more players for Gladiator Quest, which is long over due.
Now I am finding myself wishing that I had done this a long time ago, but thanks to all the recent posts about networking for the motivation.
@ Lillybyte
Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1