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

Method isActive

Sming/Components/Network/src/Network/Http/HttpConnection.cpp:204–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204bool HttpConnection::isActive()
205{
206 if(tcp == nullptr) {
207 return false;
208 }
209
210 for(auto pcb = tcp_active_pcbs; pcb != nullptr; pcb = pcb->next) {
211 if(tcp == pcb) {
212 return true;
213 }
214 }
215
216 return false;
217}

Callers 1

cleanInactiveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected