Dedicated Server Programming

I have now created a dedicated server, and I want to create a source that must notify the master server of the port number at the same time my dedicated server is created. (When <Severname.exe> -log is called, the ip number: port number of the log is sent to the master server.) By the way, in the ue4 source code, the syntax of #if with_server_code is known to the dedicated server related code. Do you know if a source must be created before it can be transferred to the master server? Thank you for reading mail :slight_smile: