diff options
Diffstat (limited to 'ostp.d/net')
-rw-r--r-- | ostp.d/net/otd_listen.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ostp.d/net/otd_listen.c b/ostp.d/net/otd_listen.c index 87744c2..df4473b 100644 --- a/ostp.d/net/otd_listen.c +++ b/ostp.d/net/otd_listen.c @@ -180,8 +180,12 @@ read_clients(void) close(serv_sock); } +/* + * Begin listening for incoming connections + * and handle them. + */ int -main(void) +net_listen(void) { struct sockaddr_in saddr; int error; @@ -211,5 +215,5 @@ main(void) } read_clients(); - return 0; + __builtin_unreachable(); } |