[Top][All Lists]

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

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

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

Perhaps for future uses, or to have a prototype like this others callbacks ? (but I don't have check that)...
Frédéric BERNON
Chef de projet informatique
Microsoft Certified Professional
Tél. : +33 (0)4-67-87-61-10
Fax. : +33 (0)4-67-70-85-44
Email : address@hiddenr
Web Site : http://www.hymatom.fr
P Avant d'imprimer, penser à l'environnement
-----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 parameter

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?


Attachment: Frédéric BERNON.vcf
Description: Frédéric BERNON.vcf

reply via email to

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