M
munkbusiness
Guest
OK so this question might not be actually be about what Game Maker does, but about networking, but I will ask anyways just in case someone here knows what is going on.
So I am developing a local multiplayer game that is played on phones for a study project. One phone broadcasts out a challenge using UDP broadcast and another responds and the game starts.
Now this is tested and works for me, but not on all networks.
These are my networks cases:
- At home on personal network: Game works
- Using 4G on each phone: Game doesn't work (expected)
- On university (eduroam) network: Doesn't work (expected)
- On 4G but one phone makes a shared connection that the others connect to: Game works
- My PC makes a shared connection that my phones all connect to: Game doesn't work (WHAT!?!?)
The last is the one I have trouble understanding, and it also destroys my workflow. As I often work on university and with multiple phones it is easiest for me to use webserver to send an update out to all phones using my PC as network host, but for some reason UDP broadcast cannot find the other phones on this setup. And having to disconnect multiple phones from one network to another between each test section hampers my flow.
I am on Windows 10 and use netsh wlan hostednetwork, to create my shared connection. The phones get internet my ethernet just fine this way.
So I am developing a local multiplayer game that is played on phones for a study project. One phone broadcasts out a challenge using UDP broadcast and another responds and the game starts.
Now this is tested and works for me, but not on all networks.
These are my networks cases:
- At home on personal network: Game works
- Using 4G on each phone: Game doesn't work (expected)
- On university (eduroam) network: Doesn't work (expected)
- On 4G but one phone makes a shared connection that the others connect to: Game works
- My PC makes a shared connection that my phones all connect to: Game doesn't work (WHAT!?!?)
The last is the one I have trouble understanding, and it also destroys my workflow. As I often work on university and with multiple phones it is easiest for me to use webserver to send an update out to all phones using my PC as network host, but for some reason UDP broadcast cannot find the other phones on this setup. And having to disconnect multiple phones from one network to another between each test section hampers my flow.
I am on Windows 10 and use netsh wlan hostednetwork, to create my shared connection. The phones get internet my ethernet just fine this way.