Hi everybody, Please excuse me if I'm asking a silly question, but I'm now clear about the state of the PCB when tcp_err is called.
The documentation states: The error callback function does not get the pcb passed to it as a parameter since the pcb may already have been deallocated. What I have a problem with is the may bit, Is the pcb deallocated or not? I know from experience that if tcp_err is called because tcp_connect failed then the PCB is deallocated and should NOT be closed by my code. But is this always the case? Thanks, Nadav
_______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
