23 #ifndef __ccxx_MulticastSocket_hxx 24 #define __ccxx_MulticastSocket_hxx 59 void join(
const String& address);
93 void leave(
const String& address);
130 void setTTL(uint8_t ttl);
137 uint8_t getTTL()
const;
148 void setLoopbackEnabled(
bool enabled);
156 bool isLoopbackEnabled()
const;
182 #endif // __ccxx_MulticastSocket_hxx
A UDP multicast socket.
Definition: MulticastSocket.h++:39
An aggregation of information about a network interface.
Definition: NetworkInterface.h++:38
static uint8_t TTL_UNRESTRICTED
A TTL value representing unlimited scope.
Definition: MulticastSocket.h++:169
static uint8_t TTL_SITE
A TTL value representing site-wide scope.
Definition: MulticastSocket.h++:163
static uint8_t TTL_CONTINENT
A TTL value representing continental scope.
Definition: MulticastSocket.h++:167
static uint8_t TTL_REGION
A TTL value representing regional scope.
Definition: MulticastSocket.h++:165
#define COMMONCPP_API
Definition: Common.h++:126
static uint8_t TTL_SUBNET
A TTL value representing subnet scope.
Definition: MulticastSocket.h++:161
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
#define CCXX_COPY_DECLS(CLASS)
Inlines declarations of a copy constructor and assignment operator for the class CLASS.
Definition: Common.h++:295
An IPv4 Internet address.
Definition: InetAddress.h++:64
static uint8_t TTL_HOST
A TTL value representing localhost scope.
Definition: MulticastSocket.h++:159
Definition: AllocationMap.c++:25
A User Datagram (UDP) socket.
Definition: DatagramSocket.h++:43