Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 21, 2010, 9:27:36 PM (14 years ago)
Author:
scheusso
Message:

changing landiscoverable port to fix problem when running masterserver and normal server on the same host

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/gamestates/GSServer.cc

    r7401 r7790  
    3434#include "core/GameMode.h"
    3535#include "network/Server.h"
     36#include "network/Connection.h"
    3637
    3738namespace orxonox
     
    3940    DeclareGameState(GSServer, "server", false, false);
    4041
    41     SetCommandLineArgument(port, 55556).shortcut("p").information("Network communication port to be used 0-65535 (default: 55556)");
     42    SetCommandLineArgument(port, NETWORK_PORT).shortcut("p").information("Network communication port to be used 0-65535 (default: 55556)");
    4243
    4344    GSServer::GSServer(const GameStateInfo& info)
Note: See TracChangeset for help on using the changeset viewer.