From 68fc10aed03e243ddc2a0f05256b236a13216419 Mon Sep 17 00:00:00 2001 From: yrutschle Date: Tue, 23 Feb 2021 21:19:23 +0100 Subject: [PATCH] comment udp_listener prototype --- udp-listener.c | 4 +++- udp-listener.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/udp-listener.c b/udp-listener.c index 3ea6ff5..7bfd96f 100644 --- a/udp-listener.c +++ b/udp-listener.c @@ -158,7 +158,9 @@ static void reap_timeouts(struct known_udp_source* sources, int n_src, fd_set* f } -/* UDP listener: upon incoming packet, find where it should go */ +/* UDP listener: upon incoming packet, find where it should go + * This is run in its own process and never returns. + */ void udp_listener(struct listen_endpoint* endpoint, int num_endpoints, int active_endpoint) { fd_set fds_r, fds_r_tmp; diff --git a/udp-listener.h b/udp-listener.h index 0c41d67..fc65a17 100644 --- a/udp-listener.h +++ b/udp-listener.h @@ -1,3 +1,5 @@ -/* UDP listener: upon incoming packet, find where it should go */ +/* UDP listener: upon incoming packet, find where it should go + * This is run in its own process and never returns. + */ void udp_listener(struct listen_endpoint* endpoint, int num_endpoints, int active_endpoint);