summaryrefslogtreecommitdiff
path: root/src/multicast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/multicast.h')
-rw-r--r--src/multicast.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/multicast.h b/src/multicast.h
index f0a4979..50727a5 100644
--- a/src/multicast.h
+++ b/src/multicast.h
@@ -35,12 +35,13 @@ public:
Multicast(Info *info);
~Multicast();
- void Write(char* buf, int size);
+ void Write(void* buf, int size);
private:
Info *info;
- bool UDPOpen(char * address, int port);
+ bool is_address_multicast(unsigned long address);
+ bool UDPOpen(char *address, int port);
int sock;
};