summaryrefslogtreecommitdiff
path: root/src/multicast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/multicast.h')
-rw-r--r--src/multicast.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/multicast.h b/src/multicast.h
index 3d222a0..08df3e1 100644
--- a/src/multicast.h
+++ b/src/multicast.h
@@ -28,20 +28,23 @@
#ifndef __MIAV_MULTICAST_H__
#define __MIAV_MULTICAST_H__
+#include "multicast_configuration.h"
#include "info.h"
class Multicast {
public:
- Multicast(Info *i, char *addr, int port);
+ Multicast(Info *i, mcastconf_t &mcclientconf);
~Multicast();
- void Write(void* buf, int size);
+ int Write(void* buf, int size);
+
+ bool multicast_audio;
private:
Info *info;
bool is_address_multicast(unsigned long address);
- bool UDPOpen(char *address, int port);
+ bool UDPOpen(const char *address, int port);
int sock;
int udp_buffer_size;