mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-03 16:48:52 +02:00
Send server settings as reply to hello
This commit is contained in:
parent
45ba48b864
commit
08c35ccc62
4 changed files with 39 additions and 34 deletions
|
@ -88,6 +88,8 @@ public:
|
|||
return msg;
|
||||
}
|
||||
|
||||
std::string getMacAddress() const;
|
||||
|
||||
virtual bool active() const
|
||||
{
|
||||
return active_;
|
||||
|
@ -95,7 +97,7 @@ public:
|
|||
|
||||
virtual bool connected() const
|
||||
{
|
||||
return (socket_ != 0);
|
||||
return (socket_ != nullptr);
|
||||
// return (connected_ && socket);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue