MCPcopy Create free account
hub / github.com/SmingHub/Sming / staticOnPoll

Method staticOnPoll

Sming/Components/Network/src/Network/TcpConnection.cpp:530–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

528}
529
530err_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
542err_t TcpConnection::internalOnPoll()
543{

Callers

nothing calls this directly

Calls 1

internalOnPollMethod · 0.80

Tested by

no test coverage detected