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
9af2bc0d93
commit
07aff5ad16
4 changed files with 44 additions and 16 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