* @brief Changes the UDP socket's local port number. */
| 391 | * @brief Changes the UDP socket's local port number. |
| 392 | */ |
| 393 | void IO::Drivers::Network::setUdpLocalPort(const quint16 port) |
| 394 | { |
| 395 | if (m_udpLocalPort == port) |
| 396 | return; |
| 397 | |
| 398 | m_udpLocalPort = port; |
| 399 | m_settings.setValue("NetworkDriver/udpLocalPort", port); |
| 400 | Q_EMIT portChanged(); |
| 401 | } |
| 402 | |
| 403 | /** |
| 404 | * @brief Changes the UDP socket's remote port number. |