git-svn-id: svn://elaine/murooma/trunk@244 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-09-09 20:52:44 +00:00
parent b3c536136c
commit 98ad7db30a

View file

@ -34,8 +34,8 @@ void ServerConnection::start(MessageReceiver* receiver, const std::string& ip, s
messageReceiver = receiver;
// endpt.address(boost::asio::ip::address::from_string(ip));
// endpt.port((port));
std::cout << "Endpoint IP: " << endpt.address().to_string() << std::endl;
std::cout << "Endpoint Port: " << endpt.port() << std::endl;
// std::cout << "Endpoint IP: " << endpt.address().to_string() << std::endl;
// std::cout << "Endpoint Port: " << endpt.port() << std::endl;
tcp::resolver resolver(io_service);
tcp::resolver::query query(tcp::v4(), ip, boost::lexical_cast<string>(port));
iterator = resolver.resolve(query);