QXmpp: QXmppStunServer.h Source File

QXmpp Version: 1.14.2

Loading...
Searching...
No Matches
QXmppStunServer.h
1// SPDX-FileCopyrightText: 2025 Linus Jahn <lnj@kaidan.im>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPSTUNSERVER_H
6#define QXMPPSTUNSERVER_H
7
8#include "QXmppGlobal.h"
9
10#include <QHostAddress>
11
12namespace QXmpp {
13
19 struct StunServer {
21 QHostAddress host;
23 quint16 port;
24};
25
26} // namespace QXmpp
27
28#endif
QXmpp
Definition Algorithms.h:14
QXmpp::StunServer
STUN server address.
Definition QXmppStunServer.h:19
QXmpp::StunServer::port
quint16 port
port of the STUN server (default: 3478)
Definition QXmppStunServer.h:23
QXmpp::StunServer::host
QHostAddress host
host address of the STUN server
Definition QXmppStunServer.h:21