[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
- [lwip-users] Is tcp_err()-callback optional?, Karl Karpfen, 2015/10/12
- Re: [lwip-users] Is tcp_err()-callback optional?,
Simon Goldschmidt <=
- [lwip-users] Infinite hang in tcp_slowtmr(), Stephen Cowell, 2015/10/15
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Sylvain Rochet, 2015/10/12
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Stephen Cowell, 2015/10/15
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Sylvain Rochet, 2015/10/13
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Sylvain Rochet, 2015/10/13
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Enrico Murador - Research & Development - CET, 2015/10/14
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Stephen Cowell, 2015/10/14
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Enrico Murador - Research & Development - CET, 2015/10/14
- Re: [lwip-users] Infinite hang in tcp_slowtmr(), Sylvain Rochet, 2015/10/14