summaryrefslogtreecommitdiff
path: root/node/UdpSocket.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/UdpSocket.hpp')
-rw-r--r--node/UdpSocket.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/UdpSocket.hpp b/node/UdpSocket.hpp
index be407d56..a3223f1f 100644
--- a/node/UdpSocket.hpp
+++ b/node/UdpSocket.hpp
@@ -46,6 +46,7 @@ public:
/**
* Create and bind a local UDP socket
*
+ * @param localOnly If true, bind to loopback address only
* @param localPort Local port to listen to
* @param ipv6 If true, bind this as an IPv6 socket, otherwise IPv4
* @param packetHandler Function to call when packets are read
@@ -53,6 +54,7 @@ public:
* @throws std::runtime_error Unable to bind
*/
UdpSocket(
+ bool localOnly,
int localPort,
bool ipv6,
void (*packetHandler)(UdpSocket *,void *,const InetAddress &,const void *,unsigned int),