git://developer.intra2net.com
/
libt2n
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
libt2n: (gerd) make codegen.make work with current autotools
[libt2n]
/
src
/
socket_client.hxx
diff --git
a/src/socket_client.hxx
b/src/socket_client.hxx
index
c103cbb
..
cea491e
100644
(file)
--- a/
src/socket_client.hxx
+++ b/
src/socket_client.hxx
@@
-51,6
+51,8
@@
class socket_client_connection : public client_connection, public socket_handler
std::string server;
int port;
+ std::string lastErrorMsg;
+
protected:
std::ostream* get_logstream(log_level_values level)
@@
-81,6
+83,9
@@
class socket_client_connection : public client_connection, public socket_handler
void close();
void reconnect();
+
+ std::string get_last_error_msg(void)
+ { return lastErrorMsg; }
};
}