Start asynchronous read */
| 166 | Start asynchronous read |
| 167 | */ |
| 168 | int TP_connection_win::start_io() |
| 169 | { |
| 170 | StartThreadpoolIo(io); |
| 171 | if (sock.begin_read()) |
| 172 | { |
| 173 | /* Some error occurred */ |
| 174 | CancelThreadpoolIo(io); |
| 175 | return -1; |
| 176 | } |
| 177 | return 0; |
| 178 | } |
| 179 | |
| 180 | /* |
| 181 | Recalculate wait timeout, maybe reset timer. |
no test coverage detected