| 118 | } |
| 119 | |
| 120 | bool UdpConnection::setMulticast([[maybe_unused]] IpAddress ip) |
| 121 | { |
| 122 | #if LWIP_MULTICAST_TX_OPTIONS |
| 123 | if(udp == nullptr) { |
| 124 | initialize(nullptr); |
| 125 | } |
| 126 | if(udp != nullptr) { |
| 127 | udp_set_multicast_netif_addr(udp, (ip4_addr_t*)ip); |
| 128 | return true; |
| 129 | } |
| 130 | #endif |
| 131 | return false; |
| 132 | } |
| 133 | |
| 134 | bool UdpConnection::setMulticastTtl([[maybe_unused]] size_t ttl) |
| 135 | { |
nothing calls this directly
no test coverage detected