#ifndef PROGRAM4_CONN_HANDLER_H #define PROGRAM4_CONN_HANDLER_H #include <netdb.h> #include <unistd.h> #include <string.h> #include <stdio.h> #define MAX_PENDING 5 // Return the maximum socket descriptor set in the argument. int find_max_fd(const fd_set *fs); // Return the file descriptor when the listen socket binds a new connection. int bind_and_listen( const char *service ); #endif //PROGRAM4_CONN_HANDLER_H