MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setUdpMulticast

Method setUdpMulticast

app/src/IO/Drivers/Network.cpp:450–458  ·  view source on GitHub ↗

* @brief Enables/disables multicast connections with the UDP socket. */

Source from the content-addressed store, hash-verified

448 * @brief Enables/disables multicast connections with the UDP socket.
449 */
450void 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.

Callers 1

setupUdpConnectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected