diff options
| author | Fabio Alessandrelli | 2016-11-30 20:45:19 +0100 |
|---|---|---|
| committer | Fabio Alessandrelli | 2017-01-04 00:46:32 +0100 |
| commit | a46a643f90b4a5e93f94e9223e58a7bf83dc4e2a (patch) | |
| tree | 1b7c097008eb4a47257a9af519a26f15a1ac4220 /drivers/unix/packet_peer_udp_posix.h | |
| parent | c030e602e52034a4dc9f26b76e55ecd272f4cf6f (diff) | |
| download | godot-a46a643f90b4a5e93f94e9223e58a7bf83dc4e2a.tar.gz godot-a46a643f90b4a5e93f94e9223e58a7bf83dc4e2a.tar.zst godot-a46a643f90b4a5e93f94e9223e58a7bf83dc4e2a.zip | |
Diffstat (limited to 'drivers/unix/packet_peer_udp_posix.h')
| -rw-r--r-- | drivers/unix/packet_peer_udp_posix.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/unix/packet_peer_udp_posix.h b/drivers/unix/packet_peer_udp_posix.h index 13b6969e5..e679d18df 100644 --- a/drivers/unix/packet_peer_udp_posix.h +++ b/drivers/unix/packet_peer_udp_posix.h @@ -52,7 +52,7 @@ class PacketPeerUDPPosix : public PacketPeerUDP { IP_Address peer_addr; int peer_port; - _FORCE_INLINE_ int _get_socket(IP_Address::AddrType p_type); + _FORCE_INLINE_ int _get_socket(); static PacketPeerUDP* _create(); virtual Error _poll(bool p_block); @@ -65,7 +65,7 @@ public: virtual int get_max_packet_size() const; - virtual Error listen(int p_port, IP_Address::AddrType p_address_type, int p_recv_buffer_size=65536); + virtual Error listen(int p_port, int p_recv_buffer_size=65536); virtual void close(); virtual Error wait(); virtual bool is_listening() const; |
