Summerizing of stats in Buffer done - closes #2

This commit is contained in:
Thulinma 2011-11-26 04:27:04 +01:00
parent 0716c319a6
commit a53b255e8f
5 changed files with 75 additions and 8 deletions

View file

@ -52,7 +52,7 @@ namespace Socket{
std::string getError(); ///< Returns a string describing the last error that occured.
unsigned int dataUp(); ///< Returns total amount of bytes sent.
unsigned int dataDown(); ///< Returns total amount of bytes received.
std::string getStats(); ///< Returns a std::string of stats, ended by a newline.
std::string getStats(std::string C); ///< Returns a std::string of stats, ended by a newline.
friend class Server;
bool Error; ///< Set to true if a socket error happened.
bool Blocking; ///< Set to true if a socket is currently or wants to be blocking.