@@ -116,13 +116,6 @@ bool clsLEAMDNSHost::_sendMessage(netif* pNetIf, clsLEAMDNSHost::clsSendParamete
116
116
(m_pUDPContext->sendTimeout (ipRemote, m_pUDPContext->getRemotePort (), clsConsts::u32SendTimeoutMs)) /* &&
117
117
(Serial.println("Did send UC"), true)*/ );
118
118
DEBUG_EX_ERR (if (!bResult) DEBUG_OUTPUT.printf_P (PSTR (" %s _sendMessage (V4): FAILED!\n " ), _DH ()););
119
- #if 0
120
- if ((clsConsts::u32SendCooldown) &&
121
- 1)//(can_yield()))
122
- {
123
- delay(clsConsts::u32SendCooldown);
124
- }
125
- #endif
126
119
}
127
120
else
128
121
{
@@ -186,13 +179,6 @@ bool clsLEAMDNSHost::_sendMessage_Multicast(netif* pNetIf, clsLEAMDNSHost::clsSe
186
179
(m_pUDPContext->setMulticastInterface (0 ), true ) /* &&
187
180
(Serial.println("Did send MC V4"), true)*/ );
188
181
DEBUG_EX_ERR (if (!bIPv4Result) DEBUG_OUTPUT.printf_P (PSTR (" %s _sendMessage_Multicast (V4): FAILED!\n " ), _DH ()););
189
- #if 0
190
- if ((clsConsts::u32SendCooldown) &&
191
- 1)//(can_yield()))
192
- {
193
- delay(clsConsts::u32SendCooldown);
194
- }
195
- #endif
196
182
}
197
183
#endif
198
184
@@ -213,13 +199,6 @@ bool clsLEAMDNSHost::_sendMessage_Multicast(netif* pNetIf, clsLEAMDNSHost::clsSe
213
199
(m_pUDPContext->setMulticastInterface (0 ), true ) /* &&
214
200
(Serial.println("Did send MC V6"), true)*/ );
215
201
DEBUG_EX_ERR (if (!bIPv6Result) DEBUG_OUTPUT.printf_P (PSTR (" %s _sendMessage_Multicast (IPv6): FAILED! (%s, %s, %s)\n " ), _DH (), (_getResponderIPAddress (pNetIf, enuIPProtocolType::V6).isSet () ? " 1" : " 0" ), (bPrepareMessage ? " 1" : " 0" ), (bUDPContextSend ? " 1" : " 0" )););
216
- #if 0
217
- if ((clsConsts::u32SendCooldown) &&
218
- 1)//(can_yield()))
219
- {
220
- delay(clsConsts::u32SendCooldown);
221
- }
222
- #endif
223
202
}
224
203
#endif
225
204
0 commit comments