lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Is tcp_err()-callback optional?


From: Karl Karpfen
Subject: Re: [lwip-users] Is tcp_err()-callback optional?
Date: Mon, 12 Oct 2015 13:39:35 +0200

OK, thanks!

2015-10-12 13:17 GMT+02:00 Simon Goldschmidt <address@hidden>:
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]