summaryrefslogtreecommitdiff
path: root/server/component.h
diff options
context:
space:
mode:
authorschmirl <schmirl>2009-02-13 10:39:20 +0000
committerschmirl <schmirl>2009-02-13 10:39:20 +0000
commit78410ea5761eab03a7bc33852e85621594df7254 (patch)
tree38b0238e9797d4ab97fee50c822518ff460def16 /server/component.h
parentc26b89f9c287d64915b94cc56fb0e4e709d235a4 (diff)
downloadvdr-plugin-streamdev-78410ea5761eab03a7bc33852e85621594df7254.tar.gz
vdr-plugin-streamdev-78410ea5761eab03a7bc33852e85621594df7254.tar.bz2
Added IGMP multicast server
Modified Files: CONTRIBUTORS HISTORY Makefile README po/de_DE.po po/fi_FI.po po/fr_FR.po po/it_IT.po po/ru_RU.po server/component.c server/component.h server/connection.c server/connection.h server/livefilter.c server/server.c server/setup.c server/setup.h server/streamer.c server/streamer.h streamdev/streamdevhosts.conf tools/socket.c tools/socket.h Added Files: patches/vdr-cap_net_raw.diff server/componentIGMP.c server/componentIGMP.h server/connectionIGMP.c server/connectionIGMP.h
Diffstat (limited to 'server/component.h')
-rw-r--r--server/component.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/component.h b/server/component.h
index 8703348..7efd4ba 100644
--- a/server/component.h
+++ b/server/component.h
@@ -1,5 +1,5 @@
/*
- * $Id: component.h,v 1.2 2005/05/09 20:22:29 lordjaxom Exp $
+ * $Id: component.h,v 1.3 2009/02/13 10:39:22 schmirl Exp $
*/
#ifndef VDR_STREAMDEV_SERVERS_COMPONENT_H
@@ -17,8 +17,8 @@ class cServerConnection;
class cServerComponent: public cListObject {
private:
- cTBSocket m_Listen;
const char *m_Protocol;
+ cTBSocket m_Listen;
const char *m_ListenIp;
uint m_ListenPort;
@@ -27,7 +27,7 @@ protected:
virtual cServerConnection *NewClient(void) = 0;
public:
- cServerComponent(const char *Protocol, const char *ListenIp, uint ListenPort);
+ cServerComponent(const char *Protocol, const char *ListenIp, uint ListenPort, int Type = SOCK_STREAM, int IpProto = 0);
virtual ~cServerComponent();
/* Starts listening on the specified Port, override if you want to do things