summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-11-25 17:14:07 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-12-10 12:11:52 +0100
commitab1bfb9007f7d1cca9bb45abfc1559fbbebb4f8a (patch)
treeed6fa5325e3b009c11ac52c12ddc8732905d3ae6 /core
parentc868baf6581cb082844c7fde822c9b1ad86b3215 (diff)
NetSocket set_broadcast_enabled returns Error enum
Diffstat (limited to 'core')
-rw-r--r--core/io/net_socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/net_socket.h b/core/io/net_socket.h
index 3bc1369487..914e243b65 100644
--- a/core/io/net_socket.h
+++ b/core/io/net_socket.h
@@ -69,7 +69,7 @@ public:
virtual bool is_open() const = 0;
virtual int get_available_bytes() const = 0;
- virtual void set_broadcasting_enabled(bool p_enabled) = 0;
+ virtual Error set_broadcasting_enabled(bool p_enabled) = 0; // Returns OK if the socket option has been set successfully.
virtual void set_blocking_enabled(bool p_enabled) = 0;
virtual void set_ipv6_only_enabled(bool p_enabled) = 0;
virtual void set_tcp_no_delay_enabled(bool p_enabled) = 0;