Hello,
I'm close to having a successful implementation of a custom game server hosted and launched by PlayFab, but I still need a clarification to make sure everything is done correctly and in a secure manner.
On the server, when binding the socket to an address and port,
(c# tcp: new TcpListener(address, port) c# udp : socket.bind(new IPEndPoint(address, port) ); )
what address do I specify in the address parameter?
I noticed the server is launched with a -server_host_domain= parameter, which I believe provides the public IP address, but I believe this isn't what I am meant to use. (Also probably why I had issues on another topic I posted a few weeks ago.)
I tried using IPAddress.Any (0.0.0.0). This works, but I wonder if it's the good thing to do, or if it isn't secure and opens my server code to unwanted communications.
In my title, the latest (successful) test is the "micro" build.
If needed, I can provide the source code to it, which is just 120 lines that parse command line args and opens a socket in TCP or UDP, outputing several traces in the process.
Thanks for your help!
(p.s. this is related to my previous post :