| 528 | } |
| 529 | |
| 530 | err_t TcpConnection::staticOnPoll(void* arg, tcp_pcb* tcp) |
| 531 | { |
| 532 | auto con = static_cast<TcpConnection*>(arg); |
| 533 | |
| 534 | if(con == nullptr) { |
| 535 | closeTcpConnection(tcp); |
| 536 | return ERR_OK; |
| 537 | } else { |
| 538 | return con->internalOnPoll(); |
| 539 | } |
| 540 | } |
| 541 | |
| 542 | err_t TcpConnection::internalOnPoll() |
| 543 | { |
nothing calls this directly
no test coverage detected