aboutsummaryrefslogtreecommitdiff
path: root/drivers/unix/packet_peer_udp_posix.h
diff options
context:
space:
mode:
authorFabio Alessandrelli2017-01-18 10:24:26 +0100
committerFabio Alessandrelli2017-01-23 20:18:18 +0100
commit2fe4ef66991b483640f59873c22b3af671626ccc (patch)
tree2ddc072d59d6f8ceed594b669e6dfab5b1bf6c29 /drivers/unix/packet_peer_udp_posix.h
parentb2839343cab66880f647c77da7b2e1826761776a (diff)
downloadgodot-2fe4ef66991b483640f59873c22b3af671626ccc.tar.gz
godot-2fe4ef66991b483640f59873c22b3af671626ccc.tar.zst
godot-2fe4ef66991b483640f59873c22b3af671626ccc.zip
Diffstat (limited to 'drivers/unix/packet_peer_udp_posix.h')
-rw-r--r--drivers/unix/packet_peer_udp_posix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/unix/packet_peer_udp_posix.h b/drivers/unix/packet_peer_udp_posix.h
index ead7174a9..ac68344d7 100644
--- a/drivers/unix/packet_peer_udp_posix.h
+++ b/drivers/unix/packet_peer_udp_posix.h
@@ -48,6 +48,7 @@ class PacketPeerUDPPosix : public PacketPeerUDP {
mutable int packet_port;
mutable int queue_count;
int sockfd;
+ IP::Type sock_type;
IP_Address peer_addr;
int peer_port;
@@ -65,7 +66,7 @@ public:
virtual int get_max_packet_size() const;
- virtual Error listen(int p_port, int p_recv_buffer_size=65536);
+ virtual Error listen(int p_port, IP_Address p_bind_address=IP_Address("*"), int p_recv_buffer_size=65536);
virtual void close();
virtual Error wait();
virtual bool is_listening() const;