From c652e8fa8141d7e323cbdbbc0a662244a5a84955 Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Tue, 22 Nov 2011 01:15:09 +0100 Subject: 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. --- server/connection.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/connection.c') 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()); } -- cgit v1.2.3