QXmpp  Version: 1.15.1
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 
12 namespace QXmpp {
13 
19 struct StunServer {
21  QHostAddress host;
23  quint16 port;
24 };
25 
26 } // namespace QXmpp
27 
28 #endif
QHostAddress host
host address of the STUN server
Definition: QXmppStunServer.h:21
STUN server address.
Definition: QXmppStunServer.h:19
quint16 port
port of the STUN server (default: 3478)
Definition: QXmppStunServer.h:23