Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Access to listening port

$
0
0
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

Viewing all articles
Browse latest Browse all 1557

Trending Articles