|
From: | Karl Karpfen |
Subject: | Re: [lwip-users] Is tcp_err()-callback optional? |
Date: | Mon, 12 Oct 2015 13:39:35 +0200 |
Karl Karpfen wrote:
>indepenedent from the fact if it makes sense or if it is bad program style:
> is it mandatory to announce a error-callback via tcp_err() or will the whole
> thing also work smoothly when there is no error-callback function available?
It is kind ofmandatory: without an 'err' callback, your application would never know if the pcb got deallocated (and possibly reused) due to a RST received or due to local pcb shortage.
Simon
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
[Prev in Thread] | Current Thread | [Next in Thread] |