mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-19 12:06: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)
|
||||
{
|
||||
std::string address = s_recv (*client);
|
||||
std::cout << "Address: " << address << "\n";
|
||||
// receiving and discarding'empty' message
|
||||
s_recv (*client);
|
||||
// receiving and discarding 'ready' message
|
||||
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