MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / tcpError

Function tcpError

modules/io/socket/lwip/tcp.c:531–539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

529}
530
531void tcpError(void *arg, err_t err)
532{
533 TCP tcp = arg;
534
535 removeTCPCallbacks(tcp);
536 tcp->skt = NULL; // "pcb is already freed when this callback is called"
537 if (kTCPError & tcp->triggerable)
538 tcpTrigger(tcp, kTCPError);
539}
540
541err_t tcpReceive(void *arg, struct tcp_pcb *pcb, struct pbuf *pb, err_t err)
542{

Callers

nothing calls this directly

Calls 2

removeTCPCallbacksFunction · 0.70
tcpTriggerFunction · 0.70

Tested by

no test coverage detected