| 540 | } |
| 541 | |
| 542 | err_t TcpConnection::internalOnPoll() |
| 543 | { |
| 544 | sleep++; |
| 545 | err_t res = onPoll(); |
| 546 | if(res == ERR_OK) { |
| 547 | checkSelfFree(); |
| 548 | } |
| 549 | debug_tcp_ext("<poll"); |
| 550 | return res; |
| 551 | } |
| 552 | |
| 553 | void TcpConnection::internalOnError(err_t err) |
| 554 | { |