|
JS8Call-Improved master
|
Implementation of network server lookup function. More...
#include "NetworkServerLookup.h"#include <QHostInfo>#include <QString>#include <stdexcept>
Functions | |
| std::tuple< QHostAddress, quint16 > | network_server_lookup (QString query, quint16 default_service_port, QHostAddress default_host_address, QAbstractSocket::NetworkLayerProtocol required_protocol) |
| Looks up the network server address and port. | |
Implementation of network server lookup function.
| std::tuple< QHostAddress, quint16 > network_server_lookup | ( | QString | query, |
| quint16 | default_service_port, | ||
| QHostAddress | default_host_address, | ||
| QAbstractSocket::NetworkLayerProtocol | required_protocol ) |
Looks up the network server address and port.
| query | |
| default_service_port | |
| default_host_address | |
| required_protocol |