diff --git a/src/Client/Client.hpp b/src/Client/Client.hpp index dcd92c5..2fd09f7 100644 --- a/src/Client/Client.hpp +++ b/src/Client/Client.hpp @@ -29,6 +29,16 @@ private: public: bool allRead; + enum e_req_status + { + READING, + WRITING, + ENDED + } req_status; + + int serverfd; + size_t readn; + size_t left; public: Request getRequest(void);