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: Simon Goldschmidt
Subject: Re: [lwip-users] Is tcp_err()-callback optional?
Date: Mon, 12 Oct 2015 13:17:51 +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



reply via email to

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