* @brief Enables/disables multicast connections with the UDP socket. */
| 448 | * @brief Enables/disables multicast connections with the UDP socket. |
| 449 | */ |
| 450 | void IO::Drivers::Network::setUdpMulticast(const bool enabled) |
| 451 | { |
| 452 | if (m_udpMulticast == enabled) |
| 453 | return; |
| 454 | |
| 455 | m_udpMulticast = enabled; |
| 456 | m_settings.setValue("NetworkDriver/udpMulticastEnabled", enabled); |
| 457 | Q_EMIT udpMulticastChanged(); |
| 458 | } |
| 459 | |
| 460 | /** |
| 461 | * @brief Changes the current socket type given an index of the socketTypes() list. |