summaryrefslogtreecommitdiff
path: root/tools/cxsocket.h
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-07-07 05:28:04 +0000
committerphintuka <phintuka>2006-07-07 05:28:04 +0000
commitb95094d82068e3e89e0ea376cc339fdee06a1835 (patch)
treecc285adf3f3f0e9b0a248e5d6acb8b046ef9677e /tools/cxsocket.h
parent947c27cf729baa85b3e989145f2abb685fdd5dda (diff)
downloadxineliboutput-b95094d82068e3e89e0ea376cc339fdee06a1835.tar.gz
xineliboutput-b95094d82068e3e89e0ea376cc339fdee06a1835.tar.bz2
Added server version to discovery broadcast
Diffstat (limited to 'tools/cxsocket.h')
-rw-r--r--tools/cxsocket.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/cxsocket.h b/tools/cxsocket.h
index 9bcc455f..0e716e4e 100644
--- a/tools/cxsocket.h
+++ b/tools/cxsocket.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: cxsocket.h,v 1.4 2006-07-02 18:12:21 phintuka Exp $
+ * $Id: cxsocket.h,v 1.5 2006-07-07 05:28:04 phintuka Exp $
*
*/
@@ -213,6 +213,8 @@ static inline int udp_discovery_broadcast(int fd_discovery, int m_Port)
asprintf(&test,
"VDR xineliboutput DISCOVERY 1.0\r\n"
"Server port: %d\r\n"
+ "Server version: vdr-" VDRVERSION "\r\n"
+ "\txineliboutput-" XINELIBOUTPUT_VERSION "\r\n"
"\r\n",
m_Port);
int testlen = strlen(test);