diff options
author | deva <deva> | 2005-10-27 14:08:28 +0000 |
---|---|---|
committer | deva <deva> | 2005-10-27 14:08:28 +0000 |
commit | 971d1fdf8599dccdc604ed9374373af16af8354f (patch) | |
tree | ac8430951bb676cbf501702cff4450a555afe394 /src/multicast.h | |
parent | 283599ea687e81855d78abffcbf641edb3bf02fb (diff) |
*** empty log message ***
Diffstat (limited to 'src/multicast.h')
-rw-r--r-- | src/multicast.h | 9 |
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; |