Cleanup in TS dir (Erik! No binaries in the git! ), added getError() to socket lib, fixed Buffer problems when a Connector is being slow.

This commit is contained in:
Thulinma 2011-08-12 02:03:07 +02:00
parent cad02ccc8e
commit 7d3acba737
2 changed files with 34 additions and 6 deletions

View file

@ -45,6 +45,7 @@ namespace Socket{
void close(); ///< Close connection.
std::string getHost(); ///< Gets hostname for connection, if available.
int getSocket(); ///< Returns internal socket number.
std::string getError(); ///< Returns a string describing the last error that occured.
friend class Server;
};
@ -61,5 +62,5 @@ namespace Socket{
void close(); ///< Close connection.
int getSocket(); ///< Returns internal socket number.
};
};