summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-07-17 12:24:35 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-07-17 13:20:38 (GMT)
commit1d52548c21f9ca47e2ef02cd944b7640b0d4dd6b (patch)
treeecc19b3c934b2c24edd7b89d9a75c13318df5168
parent7d4a3a102c562d057c7fa5de900fe4a6c662dda4 (diff)
downloadQt-1d52548c21f9ca47e2ef02cd944b7640b0d4dd6b.zip
Qt-1d52548c21f9ca47e2ef02cd944b7640b0d4dd6b.tar.gz
Qt-1d52548c21f9ca47e2ef02cd944b7640b0d4dd6b.tar.bz2
QUdpSocket: Doc improvement
Task-number: 236891 Reviewed-By: David Boddie
-rw-r--r--src/network/socket/qudpsocket.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/socket/qudpsocket.cpp b/src/network/socket/qudpsocket.cpp
index ea7753c..797becb 100644
--- a/src/network/socket/qudpsocket.cpp
+++ b/src/network/socket/qudpsocket.cpp
@@ -70,6 +70,9 @@
pendingDatagramSize() to obtain the size of the first pending
datagram, and readDatagram() to read it.
+ \note An incoming datagram should be read when you receive the readyRead()
+ signal, otherwise this signal will not be emitted for the next datagram.
+
Example:
\snippet doc/src/snippets/code/src_network_socket_qudpsocket.cpp 0