| 64 | }; |
| 65 | |
| 66 | hstcpcli::hstcpcli(const socket_args& args) |
| 67 | : sargs(args), response_end_offset(0), cur_row_offset(0), num_flds(0), |
| 68 | num_req_bufd(0), num_req_sent(0), num_req_rcvd(0), error_code(0) |
| 69 | { |
| 70 | std::string err; |
| 71 | if (socket_connect(fd, sargs, err) != 0) { |
| 72 | set_error(-1, err); |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | void |
| 77 | hstcpcli::close() |
nothing calls this directly
no test coverage detected