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:
parent
cad02ccc8e
commit
7d3acba737
2 changed files with 34 additions and 6 deletions
|
@ -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.
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue