From 971d1fdf8599dccdc604ed9374373af16af8354f Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 27 Oct 2005 14:08:28 +0000 Subject: *** empty log message *** --- src/multicast.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/multicast.h') 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; -- cgit v1.2.3