Retrieves the port used by the agent on the server host.
#include "am_web.h" AM_WEB_EXPORT int am_web_get_agent_server_port(void* agent_config);
An agent configuration instance returned by am_web_get_agent_configuration(). This parameter should not be NULL.
This function returns a port number.