diff options
author | Christian Pointner <equinox@anytun.org> | 2010-01-08 03:48:56 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2010-01-08 03:48:56 +0000 |
commit | ff9f5aee4b685b8c705bd39d5768eec75a50c5c2 (patch) | |
tree | 7136ee43b71761ac39a7f95473d8c448d0d0266c /src/syncServer.cpp | |
parent | moved to resolver iterator at onResolve callback functions (diff) |
UDPPacketSource now opens one socket for each resolved endpoint
Diffstat (limited to 'src/syncServer.cpp')
-rw-r--r-- | src/syncServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syncServer.cpp b/src/syncServer.cpp index ecf9fb4..893ceba 100644 --- a/src/syncServer.cpp +++ b/src/syncServer.cpp @@ -42,7 +42,7 @@ SyncServer::SyncServer(std::string localaddr, std::string port, ConnectCallback gResolver.resolveTcp(localaddr, port, boost::bind(&SyncServer::onResolve, this, _1), boost::bind(&SyncServer::onResolvError, this, _1)); } -void SyncServer::onResolve(const SyncTcpConnection::proto::resolver::iterator& it) +void SyncServer::onResolve(SyncTcpConnection::proto::resolver::iterator& it) { SyncTcpConnection::proto::endpoint e = *it; |