switch back to EC2 domain server for test

This commit is contained in:
Stephen Birarda 2013-02-18 08:56:32 -08:00
parent d1433aa2bd
commit c6a8f6415e
2 changed files with 3 additions and 2 deletions

View file

@ -20,7 +20,7 @@ struct AgentList {
unsigned short public_port;
char private_address[255];
unsigned short private_port;
char *goodAddress = NULL;
char *goodAddress;
unsigned short goodPort;
timeval pingStarted;
int pingMsecs;
@ -120,6 +120,7 @@ int add_agent(char * address, unsigned short port, char *private_address, unsign
agents[num_agents].agentType = agentType;
strcpy(agents[num_agents].private_address, private_address);
agents[num_agents].private_port = private_port;
agents[num_agents].goodAddress = NULL;
std::cout << "Added Agent # " << num_agents << " with Address " <<
agents[num_agents].public_address << ":" << agents[num_agents].public_port << " T: " <<
agentType << " (" << agents[num_agents].private_address << ":" << agents[num_agents].private_port << ")\n";

View file

@ -60,7 +60,7 @@ int simulate_on = 1;
const int MAX_PACKET_SIZE = 1500;
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;
UDPSocket agentSocket(AGENT_UDP_PORT);