diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-08-14 08:49:36 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-08-16 22:13:25 (GMT) |
commit | 9f1c6250b4e0859b1436f669a51b8b58b2428bd0 (patch) | |
tree | b7246f0055230ca336ddcb21b3f30778f496a08d /Limber | |
parent | 3e984e93df6673c7f3750e220b0cb2364c2f3279 (diff) | |
download | swift-contrib-9f1c6250b4e0859b1436f669a51b8b58b2428bd0.zip swift-contrib-9f1c6250b4e0859b1436f669a51b8b58b2428bd0.tar.bz2 |
Use global IO service thread in Client.
Diffstat (limited to 'Limber')
-rw-r--r-- | Limber/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Limber/main.cpp b/Limber/main.cpp index 686df3c..965abc2 100644 --- a/Limber/main.cpp +++ b/Limber/main.cpp @@ -24,7 +24,7 @@ using namespace Swift; class Server { public: Server(UserRegistry* userRegistry) : userRegistry_(userRegistry) { - serverFromClientConnectionServer_ = boost::shared_ptr<BoostConnectionServer>(new BoostConnectionServer(5224, &boostIOServiceThread_.getIOService())); + serverFromClientConnectionServer_ = boost::shared_ptr<BoostConnectionServer>(new BoostConnectionServer(5222, &boostIOServiceThread_.getIOService())); serverFromClientConnectionServer_->onNewConnection.connect(boost::bind(&Server::handleNewConnection, this, _1)); serverFromClientConnectionServer_->start(); } |