I have an interesting desire here:
In PhotonServer.config we set the UDP and TCP ports for listening to specific servers. In code we have access to ApplicationName and BinaryPath. Is there any way we can get an accessor to the UDP or TCP listening ports?
My reasoning is that when I'm building a set of servers in a generic way, I can't hard code a value and have it work. By giving us a getter for that value, I can take it and pass it to other applications on the same server so they can connect.
Maybe there is already a way to get this that I am unaware of?
Christian - CJR Gaming
In PhotonServer.config we set the UDP and TCP ports for listening to specific servers. In code we have access to ApplicationName and BinaryPath. Is there any way we can get an accessor to the UDP or TCP listening ports?
My reasoning is that when I'm building a set of servers in a generic way, I can't hard code a value and have it work. By giving us a getter for that value, I can take it and pass it to other applications on the same server so they can connect.
Maybe there is already a way to get this that I am unaware of?
Christian - CJR Gaming