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

Function tcpConnect

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

Source from the content-addressed store, hash-verified

521}
522
523err_t tcpConnect(void *arg, struct tcp_pcb *tpcb, err_t err)
524{
525 TCP tcp = arg;
526 tcp->ready = !err;
527 tcpTrigger(tcp, err ? kTCPError : kTCPWritable);
528 return ERR_OK;
529}
530
531void tcpError(void *arg, err_t err)
532{

Callers

nothing calls this directly

Calls 1

tcpTriggerFunction · 0.70

Tested by

no test coverage detected