License:
Version:
Version:
Author:
1 2 3 4 5 6 7 8 9 10 11 | auto group = new InternetAddress ("225.0.0.10", 8080); // listen for datagrams on the group address (via port 8080) auto multi = new MulticastConduit (group); // join and broadcast to the group multi.join.write ("hello", group); // we are listening also ... char[8] tmp; auto bytes = multi.read (tmp); |
see:
1 2 3 4 5 6 | Host: packets are restricted to the same host Subnet: packets are restricted to the same subnet Site: packets are restricted to the same site Region: packets are restricted to the same region Continent: packets are restricted to the same continent Unrestricted: packets are unrestricted in scope |