mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-12 15:51:45 +02:00
connect
git-svn-id: svn://elaine/murooma/trunk@244 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
b3c536136c
commit
98ad7db30a
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue