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 {