From 0014b045affddff54bce901f84edb0617284fe06 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 23 Apr 2013 17:35:00 -0700 Subject: [PATCH] hard code eve's listen port again so she shows up on EC2 --- eve/src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eve/src/main.cpp b/eve/src/main.cpp index d1a82b860d..6dfe9ea606 100644 --- a/eve/src/main.cpp +++ b/eve/src/main.cpp @@ -15,6 +15,8 @@ #include #include +const int EVE_AGENT_LISTEN_PORT = 55441; + const float RANDOM_POSITION_MAX_DIMENSION = 5.0f; const float DATA_SEND_INTERVAL_MSECS = 15; @@ -91,7 +93,7 @@ int main(int argc, const char* argv[]) { srand(time(0)); // create an AgentList instance to handle communication with other agents - AgentList* agentList = AgentList::createInstance(AGENT_TYPE_AVATAR, randIntInRange(1500, 65000)); + AgentList* agentList = AgentList::createInstance(AGENT_TYPE_AVATAR, EVE_AGENT_LISTEN_PORT); // start telling the domain server that we are alive agentList->startDomainServerCheckInThread();