diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-05-16 11:48:42 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-05-16 11:48:42 +0200 |
commit | 0226ed393837e753d4afe0349c28263d3c406f90 (patch) | |
tree | cbbccff057f02b579413e9d3223d155015509b76 /lib/UdpSocket.h | |
parent | 1c110d11ae3d3181ed37c941fa7e622d332eb520 (diff) | |
download | dabmod-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.h | 2 |
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); |