diff options
author | deva <deva> | 2005-10-08 15:18:10 +0000 |
---|---|---|
committer | deva <deva> | 2005-10-08 15:18:10 +0000 |
commit | a8b1750ede6e942430bc25e0c9c90c8e4624b250 (patch) | |
tree | 4418e3b10f088183813ea8c764667300521d5f85 /src/multicast.cc | |
parent | 8437a0c200ddbde70d64884f42dcff651749b066 (diff) |
*** empty log message ***
Diffstat (limited to 'src/multicast.cc')
-rw-r--r-- | src/multicast.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/multicast.cc b/src/multicast.cc index b64bfde..80be2ce 100644 --- a/src/multicast.cc +++ b/src/multicast.cc @@ -33,7 +33,7 @@ #include <sys/param.h> #include <arpa/inet.h> -Multicast::Multicast(Info *i) +Multicast::Multicast(Info *i, char *addr, int port) { /* Multicast adresses: @@ -42,11 +42,14 @@ Multicast::Multicast(Info *i) 224.0.0.5 OSPF routers 224.0.0.6 OSPF designated routers 224.0.0.12 DHCP server/relay agent +server_multicast = true +server_multicast_addr = "224.0.0.1" +server_multicast_port = 1234 */ // Multicast to all systems on this subnet - char addr[] = "224.0.0.1"; - int port = 1234; + // char addr[] = "224.0.0.1"; + // int port = 1234; info = i; if(!UDPOpen(addr, port)) info->error("Error creating socket %s:%d", addr, port); |