Send server settings as reply to hello

This commit is contained in:
badaix 2016-01-28 23:29:53 +01:00
parent 45ba48b864
commit 08c35ccc62
4 changed files with 39 additions and 34 deletions

View file

@ -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);
}