|
From: | Frédéric Bernon |
Subject: | [lwip-devel] [bug #22530] api_msg.c's recv_raw() does not consume data |
Date: | Wed, 12 Mar 2008 10:51:14 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12 |
Update of bug #22530 (project lwip): Assigned to: None => fbernon Planned Release: => 1.3.0 _______________________________________________________ Follow-up Comment #8: Answer : the lwip_recvfrom for a SOCK_RAW should also returns the IP header (thank you jifl) http://linux.die.net/man/7/raw ("...For receiving the IP header is always included in the packet.") http://msdn2.microsoft.com/en-us/library/ms740548.aspx ("An application always gets the IP header at the front of each received datagram ...") So, the patch is good. Note, the contrib/apps/ping is wrong, and I will fix it... _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?22530> _______________________________________________ Message posté via/par Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |