summaryrefslogtreecommitdiffstats
path: root/lib/UdpSocket.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-05-16 11:48:42 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-05-16 11:48:42 +0200
commit0226ed393837e753d4afe0349c28263d3c406f90 (patch)
treecbbccff057f02b579413e9d3223d155015509b76 /lib/UdpSocket.h
parent1c110d11ae3d3181ed37c941fa7e622d332eb520 (diff)
downloaddabmod-0226ed393837e753d4afe0349c28263d3c406f90.tar.gz
dabmod-0226ed393837e753d4afe0349c28263d3c406f90.tar.bz2
dabmod-0226ed393837e753d4afe0349c28263d3c406f90.zip
Handle Ctrl-C when using EDI input
Diffstat (limited to 'lib/UdpSocket.h')
-rw-r--r--lib/UdpSocket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/UdpSocket.h b/lib/UdpSocket.h
index 8c71b9d..b299c82 100644
--- a/lib/UdpSocket.h
+++ b/lib/UdpSocket.h
@@ -107,7 +107,7 @@ class UdpSocket
/** Receive an UDP packet.
* @param packet The packet that will receive the data. The address will be set
* to the source address.
- * @return 0 if ok, -1 if error
+ * @return 0 if ok or timeout, -1 if error
*/
int receive(UdpPacket& packet);