| 14 | } |
| 15 | |
| 16 | bool connect_client::open() |
| 17 | { |
| 18 | if (conn_.open(addr_, conn_timeout_, rw_timeout_)) { |
| 19 | printf("Connect %s ok\r\n", addr_.c_str()); |
| 20 | return true; |
| 21 | } |
| 22 | printf("Connect %s error %s\r\n", addr_.c_str(), acl::last_serror()); |
| 23 | return false; |
| 24 | } |
no test coverage detected