|
From: | Frédéric BERNON |
Subject: | RE : [lwip-devel] Question about tcp_pcb.recv callback parameter |
Date: | Sun, 17 Jun 2007 18:02:35 +0200 |
-----Message d'origine-----
De : address@hidden [mailto:address@hidden De la part de Goldschmidt Simon
Envoyé : samedi 16 juin 2007 16:16
À : address@hidden
Objet : [lwip-devel] Question about tcp_pcb.recv callback parameterThe 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
Frédéric BERNON.vcf
Description: Frédéric BERNON.vcf
[Prev in Thread] | Current Thread | [Next in Thread] |