aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppStun.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-12-10 10:03:42 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-12-10 10:03:42 +0000
commitd083da28479cfd39f77ab37d8ec4260afd19c7fb (patch)
tree929500dd35f7f7fa16c05c4b7e17f19ffaceb062 /src/QXmppStun.cpp
parent11e2742230c8fcb5f642b45ca5d5e050d61382ad (diff)
downloadqxmpp-d083da28479cfd39f77ab37d8ec4260afd19c7fb.tar.gz
improve documentation
Diffstat (limited to 'src/QXmppStun.cpp')
-rw-r--r--src/QXmppStun.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/QXmppStun.cpp b/src/QXmppStun.cpp
index e7a468d8..2df5b705 100644
--- a/src/QXmppStun.cpp
+++ b/src/QXmppStun.cpp
@@ -1292,13 +1292,14 @@ QList<QHostAddress> QXmppIceComponent::discoverAddresses()
return addresses;
}
-/// Tries to bind \a count UDP sockets on eich of the given \a addresses.
+/// Tries to bind \a count UDP sockets on each of the given \a addresses.
///
/// The port numbers are chosen so that they are consecutive, starting at
/// an even port. This makes them suitable for RTP/RTCP sockets pairs.
///
/// \param addresses The network address on which to bind the sockets.
/// \param count The number of ports to reserve.
+/// \param parent The parent object for the sockets.
QList<QUdpSocket*> QXmppIceComponent::reservePorts(const QList<QHostAddress> &addresses, int count, QObject *parent)
{