ok we started moving stuff over but for now it's not all working yet
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
# include <unistd.h> // close
|
||||
# include <iostream> // cout, cin
|
||||
# include <cstring> // memset
|
||||
# include <fstream>
|
||||
# include <sstream>
|
||||
|
||||
# include <sys/socket.h> // socket, accept, listen, send, recv, bind, connect, setsockopt, getsockname
|
||||
# include <netinet/in.h> // sockaddr_in
|
||||
@@ -39,6 +41,7 @@ class Webserv
|
||||
|
||||
private:
|
||||
int _socket_fd; // TODO: replace with vector of "Server" struct
|
||||
std::vector<ServerConfig> _servers;
|
||||
int _epfd;
|
||||
|
||||
// WIP global buffer. Need one variable set per "Client"
|
||||
|
||||
Reference in New Issue
Block a user