From 76bc9968ff0ec7d044042f9214fa59efb3146685 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 17 Jul 2013 14:10:44 -0400 Subject: New simpler command interface via loopback UDP protected by a crypto token. --- node/UdpSocket.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node/UdpSocket.hpp') 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), -- cgit v1.2.3