libt2n: (gerd) add connect timeout
[libt2n] / src / command_client.hxx
index 8c6b2bf..6ec6a1d 100644 (file)
@@ -36,6 +36,7 @@ class command_client
 
         void read_hello();
         std::string read_packet(const long long &usec_timeout);
+        bool check_hello(const std::string& hellostr);
 
     public:
         command_client(client_connection& _c, long long _command_timeout_usec=90000000, long long _hello_timeout_usec=30000000);