* @brief Changes the TCP socket's port number. */
| 378 | * @brief Changes the TCP socket's port number. |
| 379 | */ |
| 380 | void IO::Drivers::Network::setTcpPort(const quint16 port) |
| 381 | { |
| 382 | if (m_tcpPort == port) |
| 383 | return; |
| 384 | |
| 385 | m_tcpPort = port; |
| 386 | m_settings.setValue("NetworkDriver/tcpPort", port); |
| 387 | Q_EMIT portChanged(); |
| 388 | } |
| 389 | |
| 390 | /** |
| 391 | * @brief Changes the UDP socket's local port number. |