This renames PacketPeerUDP.listen to bind.
This commit is contained in:
parent
da8c2310b5
commit
4d5c8e0b18
5 changed files with 33 additions and 33 deletions
2
thirdparty/enet/godot.cpp
vendored
2
thirdparty/enet/godot.cpp
vendored
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue