- Timestamp:
- Oct 24, 2008, 12:43:13 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/gamestates/GSClient.cc
r1949 r2003 37 37 namespace orxonox 38 38 { 39 SetCommandLineArgument(ip, "127.0.0.1"). setInformation("#.#.#.#");39 SetCommandLineArgument(ip, "127.0.0.1").information("#.#.#.#"); 40 40 41 41 GSClient::GSClient() … … 55 55 GSLevel::enter(); 56 56 57 int serverPort = CommandLine::getArgument<int>("port")->getValue(); 58 std::string serverIP = CommandLine::getArgument<std::string>("ip")->getValue(); 59 this->client_ = new network::Client(serverIP, serverPort); 57 this->client_ = new network::Client((std::string)CommandLine::getValue("ip"), CommandLine::getValue("port")); 60 58 61 59 if(!client_->establishConnection())
Note: See TracChangeset
for help on using the changeset viewer.