diff options
author | Frank Schmirler <vdr@schmirler.de> | 2011-11-22 01:15:09 +0100 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2011-11-22 01:16:42 +0100 |
commit | c652e8fa8141d7e323cbdbbc0a662244a5a84955 (patch) | |
tree | ee2a0a3421788e0f6cc5f653c42ac4f14acf322b /server/connection.c | |
parent | ce1583a756fe7d80522ed3e82275705b9cbe00b7 (diff) | |
download | vdr-plugin-streamdev-c652e8fa8141d7e323cbdbbc0a662244a5a84955.tar.gz vdr-plugin-streamdev-c652e8fa8141d7e323cbdbbc0a662244a5a84955.tar.bz2 |
Added server menu with list of clients. Connections can be terminated
with the "red" key. The former main menu action of suspending live TV
moved to the "blue" key.
Diffstat (limited to 'server/connection.c')
-rw-r--r-- | server/connection.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/connection.c b/server/connection.c index 366eec5..f152f02 100644 --- a/server/connection.c +++ b/server/connection.c @@ -407,3 +407,6 @@ void cServerConnection::MainThreadHook() { m_SwitchLive->Switch(); } + +cString cServerConnection::ToText() const +{ return cString::sprintf("%s\t%s:%d", Protocol(), RemoteIp().c_str(), RemotePort()); } |