feat: add readSocket

This commit is contained in:
3lswear
2022-01-30 13:54:47 +03:00
parent 307e0abeac
commit a3abe505eb
2 changed files with 28 additions and 7 deletions

View File

@@ -28,6 +28,7 @@ private:
void sendResponse(Client head, int);
void setNonBlock(int fd);
void sendData(Client &client, int fd);
void readSocket(int fd, std::map<int, Client> &client_map);
public:
Server();
Server(std::string path);