summaryrefslogtreecommitdiffstats
path: root/platform/android/net_socket_android.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/net_socket_android.cpp')
-rw-r--r--platform/android/net_socket_android.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/android/net_socket_android.cpp b/platform/android/net_socket_android.cpp
index 8f0ee51fac..9ab7d6a04f 100644
--- a/platform/android/net_socket_android.cpp
+++ b/platform/android/net_socket_android.cpp
@@ -84,7 +84,7 @@ NetSocketAndroid::~NetSocketAndroid() {
}
void NetSocketAndroid::close() {
- NetSocketPosix::close();
+ NetSocketUnix::close();
if (wants_broadcast) {
multicast_lock_release();
}
@@ -96,7 +96,7 @@ void NetSocketAndroid::close() {
}
Error NetSocketAndroid::set_broadcasting_enabled(bool p_enabled) {
- Error err = NetSocketPosix::set_broadcasting_enabled(p_enabled);
+ Error err = NetSocketUnix::set_broadcasting_enabled(p_enabled);
if (err != OK) {
return err;
}
@@ -115,7 +115,7 @@ Error NetSocketAndroid::set_broadcasting_enabled(bool p_enabled) {
}
Error NetSocketAndroid::join_multicast_group(const IPAddress &p_multi_address, const String &p_if_name) {
- Error err = NetSocketPosix::join_multicast_group(p_multi_address, p_if_name);
+ Error err = NetSocketUnix::join_multicast_group(p_multi_address, p_if_name);
if (err != OK) {
return err;
}
@@ -129,7 +129,7 @@ Error NetSocketAndroid::join_multicast_group(const IPAddress &p_multi_address, c
}
Error NetSocketAndroid::leave_multicast_group(const IPAddress &p_multi_address, const String &p_if_name) {
- Error err = NetSocketPosix::leave_multicast_group(p_multi_address, p_if_name);
+ Error err = NetSocketUnix::leave_multicast_group(p_multi_address, p_if_name);
if (err != OK) {
return err;
}