diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-06-20 11:36:32 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-06-21 00:14:42 +0200 |
commit | e5e3f866484709f47c97151e99a302206df1d894 (patch) | |
tree | 80b282506fa4f5e75a69f34e779973e447600cb4 /core/io/net_socket.h | |
parent | b574e476ec59c9cc0eee8ccf8e3093df62d79acd (diff) | |
download | redot-engine-e5e3f866484709f47c97151e99a302206df1d894.tar.gz |
Multicast support in NetSocket/PacketPeerUDP
Diffstat (limited to 'core/io/net_socket.h')
-rw-r--r-- | core/io/net_socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |