mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-19 20:16:15 +02:00
xxx
git-svn-id: svn://elaine/murooma/trunk@124 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
3070880f9d
commit
78a5bb7aac
1 changed files with 1 additions and 2 deletions
|
@ -15,12 +15,11 @@ void receiver(zmq::socket_t* client)
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
std::string address = s_recv (*client);
|
std::string address = s_recv (*client);
|
||||||
std::cout << "Address: " << address << "\n";
|
|
||||||
// receiving and discarding'empty' message
|
// receiving and discarding'empty' message
|
||||||
s_recv (*client);
|
s_recv (*client);
|
||||||
// receiving and discarding 'ready' message
|
// receiving and discarding 'ready' message
|
||||||
std::string msg = s_recv (*client);
|
std::string msg = s_recv (*client);
|
||||||
std::cout << "msg: " << msg << "\n";
|
std::cout << "msg from " << address << ": " << msg << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue