summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-03-26 17:56:08 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-04-12 21:05:33 +0200
commit4d5c8e0b1835be586b2d57d7db0953110d166a14 (patch)
tree45af27cfa43ff2b3a559878d061f04389b9d7242 /thirdparty
parentda8c2310b5b2eae941fa1465495409086397127f (diff)
This renames PacketPeerUDP.listen to bind.
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/enet/godot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/enet/godot.cpp b/thirdparty/enet/godot.cpp
index 73fa3c62a2..1c75414be2 100644
--- a/thirdparty/enet/godot.cpp
+++ b/thirdparty/enet/godot.cpp
@@ -172,7 +172,7 @@ public:
}
Error bind(IP_Address p_ip, uint16_t p_port) {
- return udp->listen(p_port, p_ip);
+ return udp->bind(p_port, p_ip);
}
Error sendto(const uint8_t *p_buffer, int p_len, int &r_sent, IP_Address p_ip, uint16_t p_port) {