lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] Question about tcp_pcb.recv callback parameter


From: Goldschmidt Simon
Subject: [lwip-devel] Question about tcp_pcb.recv callback parameter
Date: Sat, 16 Jun 2007 16:15:56 +0200

The recv callback in tcp_pcb (that is called if LWIP_CALLBACK_API=1) has an argument err. Now it seems that this callback is only called (through the define TCP_EVENT_RECV) from tcp_input(). And from there, always with err = ERR_OK!

What is this argument for then, if it's always ERR_OK??? Couldn't we remove it? Does anyone know more about that?


Simon


reply via email to

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