mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
feat: first working
This commit is contained in:
@@ -13,12 +13,13 @@ class Server
|
||||
{
|
||||
private:
|
||||
int _port;
|
||||
int _epolfd;
|
||||
int _epoll_fd;
|
||||
int _client;
|
||||
struct epoll_event _events[MAX_CLIENT];
|
||||
struct sockaddr_in _addres;
|
||||
std::string _ip;
|
||||
std::vector<ServerConfig> _configs;
|
||||
void add_to_epoll_list(int fd, unsigned int ep_events);
|
||||
|
||||
private:
|
||||
void checkError(int fd, std::string str);
|
||||
@@ -39,4 +40,4 @@ public:
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user