In my server build my networking system is needing the address and port the server is currently running on so it can detect when a player joins.
I'm not 100% sure how to get this information. Any idea on this?
In my server build my networking system is needing the address and port the server is currently running on so it can detect when a player joins.
I'm not 100% sure how to get this information. Any idea on this?
When you add a build to PlayFab for hosting, we automatically configure the command line with a number of parameters. The ServerHostname is the IP Address, and ServerPort is the port to listen on for client connections. I'd recommend reviewing this tutorial, for more info on hosting custom game servers in PlayFab: https://api.playfab.com/docs/tutorials/landing-tournaments/custom-game-servers.
1 Person is following this question.