summaryrefslogtreecommitdiff
path: root/node/UdpSocket.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-13 09:37:17 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-10-13 09:37:17 -0700
commit05309037a86688fb55ebd4a9667f7c32cd5f975c (patch)
tree142e4fe7990b2453e7f78fe455ca699817382267 /node/UdpSocket.hpp
parent7943414c89c627a91a45e58d309d03b91ab75f87 (diff)
downloadinfinitytier-05309037a86688fb55ebd4a9667f7c32cd5f975c.tar.gz
infinitytier-05309037a86688fb55ebd4a9667f7c32cd5f975c.zip
Yank potentially costly support for TTL out of UdpSocket since we dont use this anymore.
Diffstat (limited to 'node/UdpSocket.hpp')
-rw-r--r--node/UdpSocket.hpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/node/UdpSocket.hpp b/node/UdpSocket.hpp
index 9566b9ca..7673b013 100644
--- a/node/UdpSocket.hpp
+++ b/node/UdpSocket.hpp
@@ -46,17 +46,6 @@ public:
virtual ~UdpSocket();
virtual bool send(const InetAddress &to,const void *msg,unsigned int msglen);
- /**
- * Send UDP packet with IP max hops set (<= 0 for default/infinite)
- *
- * @param to Destination address
- * @param msg Message data
- * @param msglen Message length
- * @param hopLimit IP TTL / max hops
- * @return True if packet appears sent
- */
- bool sendWithHopLimit(const InetAddress &to,const void *msg,unsigned int msglen,int hopLimit);
-
protected:
#ifdef __WINDOWS__
UdpSocket(Type t,SOCKET s) :