summaryrefslogtreecommitdiffstats
path: root/drivers/unix/net_socket_posix.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-12-01 08:57:34 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-12-17 16:08:24 +0100
commitfeb54d0ed746292c383571a50a33ff4f218151fc (patch)
treeba01ba82a04c4a38bfbc42e596833e6b52e2a5a7 /drivers/unix/net_socket_posix.h
parent0dd6079e4e4bc773c01bb85858d0a56b5b756d8f (diff)
downloadredot-engine-feb54d0ed746292c383571a50a33ff4f218151fc.tar.gz
Make NetSockets quiter.
Use print_verbose instead of ERR_* for network errors.
Diffstat (limited to 'drivers/unix/net_socket_posix.h')
-rw-r--r--drivers/unix/net_socket_posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/net_socket_posix.h b/drivers/unix/net_socket_posix.h
index fe5a4858de..b37e0ffb30 100644
--- a/drivers/unix/net_socket_posix.h
+++ b/drivers/unix/net_socket_posix.h
@@ -58,7 +58,7 @@ private:
ERR_NET_OTHER
};
- NetError _get_socket_error();
+ NetError _get_socket_error() const;
void _set_socket(SOCKET_TYPE p_sock, IP::Type p_ip_type, bool p_is_stream);
_FORCE_INLINE_ Error _change_multicast_group(IP_Address p_ip, String p_if_name, bool p_add);
_FORCE_INLINE_ void _set_close_exec_enabled(bool p_enabled);