mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 01:36:56 +02:00
switch back to EC2 domain server for test
This commit is contained in:
parent
d1433aa2bd
commit
c6a8f6415e
2 changed files with 3 additions and 2 deletions
|
@ -20,7 +20,7 @@ struct AgentList {
|
||||||
unsigned short public_port;
|
unsigned short public_port;
|
||||||
char private_address[255];
|
char private_address[255];
|
||||||
unsigned short private_port;
|
unsigned short private_port;
|
||||||
char *goodAddress = NULL;
|
char *goodAddress;
|
||||||
unsigned short goodPort;
|
unsigned short goodPort;
|
||||||
timeval pingStarted;
|
timeval pingStarted;
|
||||||
int pingMsecs;
|
int pingMsecs;
|
||||||
|
@ -120,6 +120,7 @@ int add_agent(char * address, unsigned short port, char *private_address, unsign
|
||||||
agents[num_agents].agentType = agentType;
|
agents[num_agents].agentType = agentType;
|
||||||
strcpy(agents[num_agents].private_address, private_address);
|
strcpy(agents[num_agents].private_address, private_address);
|
||||||
agents[num_agents].private_port = private_port;
|
agents[num_agents].private_port = private_port;
|
||||||
|
agents[num_agents].goodAddress = NULL;
|
||||||
std::cout << "Added Agent # " << num_agents << " with Address " <<
|
std::cout << "Added Agent # " << num_agents << " with Address " <<
|
||||||
agents[num_agents].public_address << ":" << agents[num_agents].public_port << " T: " <<
|
agents[num_agents].public_address << ":" << agents[num_agents].public_port << " T: " <<
|
||||||
agentType << " (" << agents[num_agents].private_address << ":" << agents[num_agents].private_port << ")\n";
|
agentType << " (" << agents[num_agents].private_address << ":" << agents[num_agents].private_port << ")\n";
|
||||||
|
|
|
@ -60,7 +60,7 @@ int simulate_on = 1;
|
||||||
|
|
||||||
const int MAX_PACKET_SIZE = 1500;
|
const int MAX_PACKET_SIZE = 1500;
|
||||||
char DOMAIN_HOSTNAME[] = "highfidelity.below92.com";
|
char DOMAIN_HOSTNAME[] = "highfidelity.below92.com";
|
||||||
char DOMAIN_IP[100] = "192.168.1.47"; // IP Address will be used first if not empty string
|
char DOMAIN_IP[100] = ""; // IP Address will be used first if not empty string
|
||||||
const int DOMAINSERVER_PORT = 40102;
|
const int DOMAINSERVER_PORT = 40102;
|
||||||
UDPSocket agentSocket(AGENT_UDP_PORT);
|
UDPSocket agentSocket(AGENT_UDP_PORT);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue