Browse Source

Server welcome msg

0.2
Pedro Berrocal 5 years ago
parent
commit
5aecb7a206
2 changed files with 5 additions and 2 deletions
  1. +2
    -0
      README.md
  2. +3
    -2
      src/MWServer.cpp

+ 2
- 0
README.md View File

@ -34,4 +34,6 @@ c++ -o server MW.o MWServer.o MWMap.o MWSessionI.o -std=c++11 -lIce++11 -lGlacie
```
### Run the Glacier2 router
```
glacier2router --Ice.Config=/home/r/src/mw_server/src/config.glacier2
```

+ 3
- 2
src/MWServer.cpp View File

@ -53,9 +53,10 @@ main(int argc, char* argv[])
auto mwsm = make_shared<MWSessionManagerI>();
adapter->add(mwsm, Ice::stringToIdentity("MWSessionManager"));
adapter->activate();
adapter->activate();
cout << "\n +++> Test server for MagicWorld <+++ \n" << endl;
ich->waitForShutdown();
mwsm->destroy();


Loading…
Cancel
Save