1 Jul 2009 04:24
that's ok ,could someone show me a good rap-api udp receiving software ?
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. >(Continue reading)
RSS Feed