Commit b011c6dc0ffde91b4d152d40280cb03c21a7e8e4
1 parent
47d182cc
Exists in
master
and in
5 other branches
Incluindo teste das funções de timeout.
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
src/libpw3270cpp/testprogram.cc
... | ... | @@ -50,6 +50,9 @@ |
50 | 50 | cout << "pw3270 revision: " << session->get_revision() << endl; |
51 | 51 | cout << "pw3270 session: " << session->get_session_name() << endl << endl; |
52 | 52 | |
53 | + session->set_timeout(60); | |
54 | + session->set_autoclose(60); | |
55 | + | |
53 | 56 | if(session->is_connected()) |
54 | 57 | cout << "\tConnected to host" << endl; |
55 | 58 | else | ... | ... |