We're making an educational app for use in schools and other institutions - and this relies on multiplayer over local network.
Now, the issue we have is that networks at such places are usually locked down tighter than Fort Knox - as we experienced today when doing a test at a local school. Now, we were prepared and brough our own WiFi router, so we got to perform the test.
However for when we'll get to actual release, we will have to depend on the institutions own networks, and the whims of the local IT Crowd.
So we need to know exactly what ports are used for (Tier 1) LAN communication with AGK.
For the Host, it is not a problem, we've set this to port 1025 - and snooping with Wireshark confirm this. Also we realize that for named networks (that we use) ports 45631 and 45632 need be open for the initial handshake.
However for the clients, I noticed with Wireshark, that they do not inherit the port of the host, but rather set their own arbitrary port of a specific range. I've seen from 43325 to 43486 over a few tests. What I need to know is the entire range clients will choose from. And even better, is there a way to set the port manually?
I thought by perhaps having the host send its' IP to our backend, the clients could pick up this, and set the IP and port through this little detour. This would dispense the need for initial handshaking ports to be open (45631 & 45632) - but would this also lock down the port on the client so that the arbitrary port-selection there would not kick in?
It is much easier to convince the local IT lords and masters to open one single TCP port for LAN traffic, than several hundred...
All the best, merry Xmas and hoping for a fast reply