From 0618de95849cb71f7a45703eec22059931911ef0 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 22 Feb 2023 12:10:06 +0100 Subject: [PATCH] declared why2_listen_server --- include/chat/misc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/chat/misc.h b/include/chat/misc.h index bb47e27..61466ab 100644 --- a/include/chat/misc.h +++ b/include/chat/misc.h @@ -24,6 +24,7 @@ char *why2_read_socket(int socket); //read lol void *why2_communicate_thread(void *arg); //COMMUNICATION THREAD void *why2_accept_thread(void *socket); //LOOP ACCEPTING CONNECTIONS void why2_clean_threads(void); //CLOSE EVERY RUNNING THREAD +void *why2_listen_server(void *socket); //LISTEN FOR OTHER's USERS MESSAGES typedef struct why2_connection {