summaryrefslogtreecommitdiff
path: root/node/SocketManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/SocketManager.cpp')
-rw-r--r--node/SocketManager.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/node/SocketManager.cpp b/node/SocketManager.cpp
index f4ffdb23..8e3ee9e0 100644
--- a/node/SocketManager.cpp
+++ b/node/SocketManager.cpp
@@ -452,20 +452,6 @@ bool SocketManager::send(const InetAddress &to,bool tcp,bool autoConnectTcp,cons
return false;
}
-#ifdef ZT_FIREWALL_OPENER_DELAY
-bool SocketManager::sendFirewallOpener(const InetAddress &to,int hopLimit)
-{
- if (to.isV4()) {
- if (_udpV4Socket)
- return ((UdpSocket *)_udpV4Socket.ptr())->sendWithHopLimit(to,"",1,hopLimit);
- } else if (to.isV6()) {
- if (_udpV6Socket)
- return ((UdpSocket *)_udpV6Socket.ptr())->sendWithHopLimit(to,"",1,hopLimit);
- }
- return false;
-}
-#endif
-
void SocketManager::poll(unsigned long timeout)
{
fd_set rfds,wfds,efds;