summaryrefslogtreecommitdiff
path: root/server/component.h
diff options
context:
space:
mode:
authorschmirl <schmirl>2009-02-13 10:39:40 +0000
committerschmirl <schmirl>2009-02-13 10:39:40 +0000
commite3599df3083ec6aa9b8656589a171e2c5d3d7e7a (patch)
tree875d67c52b228d945bf95e640ef57f1270319f72 /server/component.h
parentfa06a6068bd47868fe65b24af8f0a469ae6b46a6 (diff)
downloadvdr-plugin-streamdev-e3599df3083ec6aa9b8656589a171e2c5d3d7e7a.tar.gz
vdr-plugin-streamdev-e3599df3083ec6aa9b8656589a171e2c5d3d7e7a.tar.bz2
Added IGMP Multicast server
Modified Files: Tag: v0_4 CONTRIBUTORS HISTORY Makefile README i18n.c 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: Tag: v0_4 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..c7c90fd 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.2.2.1 2009/02/13 10:39:42 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