#ifndef MAIN_H #define MAIN_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define BUFFER_SIZE 4096 #define MAX_CONNECTION 1020 extern struct epoll_event evs[MAX_CONNECTION + 1], ev; extern struct sockaddr_in addr; extern socklen_t addr_len; extern int efd; #endif