From e5e3f866484709f47c97151e99a302206df1d894 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Thu, 20 Jun 2019 11:36:32 +0200 Subject: Multicast support in NetSocket/PacketPeerUDP --- core/io/net_socket.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/io/net_socket.h') diff --git a/core/io/net_socket.h b/core/io/net_socket.h index 94e7ef6f75..3bc1369487 100644 --- a/core/io/net_socket.h +++ b/core/io/net_socket.h @@ -74,6 +74,8 @@ public: virtual void set_ipv6_only_enabled(bool p_enabled) = 0; virtual void set_tcp_no_delay_enabled(bool p_enabled) = 0; virtual void set_reuse_address_enabled(bool p_enabled) = 0; + virtual Error join_multicast_group(const IP_Address &p_multi_address, String p_if_name) = 0; + virtual Error leave_multicast_group(const IP_Address &p_multi_address, String p_if_name) = 0; }; #endif // NET_SOCKET_H -- cgit v1.2.3