That's ok , the code sent udp messages successfully when I turning on the ARP_QUEUEING .According the Ethereal ,the message is correct including src ,dest.and checksum. However ,my udp receiving software did not work well.so could some one help me ?
Best Regards the_gadfly Simon Goldschmidt wrote: > > >> hi: >> this is my code,modified form stand-alone lwip example web server. I am >> trying to send messages through UDP. But all it is sending are ARP's. > > That's perfectly OK: before the stack can actually send the UDP packet, it > has to know the target MAC address. Since it doesn't know it, yet, ARP > request packets are sent. > > The stack should receive ARP response packets and (if ARP queueing is > turned on), the original UDP packets should be sent (if ARP queueing is > turned off, the old packets are not sent - udp_send() returns an error - > but the next packets can be sent). > > So the question is: are there any ARP responses and if so, why doesn't the > stack handle them. You should see the ARP response packets if they come > from the same PC you are running wireshark on. > > Simon > -- > Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate > für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02 > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users > > -- View this message in context: http://www.nabble.com/UDP-send-ok-but-Can%27t-find-in-Ethereal-tp24263401p24283174.html Sent from the lwip-users mailing list archive at Nabble.com. _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
