diff --git a/src/Client/Client.cpp b/src/Client/Client.cpp index c73ae00..7fa2eb6 100644 --- a/src/Client/Client.cpp +++ b/src/Client/Client.cpp @@ -47,6 +47,11 @@ int Client::getFd(void) return _fd; } +unsigned int Client::getCounter(void) const +{ + return _sended; +} + void Client::setRawData(char *str) { this->_buff = str; diff --git a/src/Client/Client.hpp b/src/Client/Client.hpp index 965f77f..503bf6f 100644 --- a/src/Client/Client.hpp +++ b/src/Client/Client.hpp @@ -30,6 +30,7 @@ public: Request getRequest(void); Response getResponse(void); std::string getStrToSend(void); + unsigned int getCounter(void) const; void setRawData(char *); void setFd(int); int getFd(void);