lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] how to send udp messages circularly ?


From: the_gadfly
Subject: Re: [lwip-users] how to send udp messages circularly ?
Date: Fri, 3 Jul 2009 04:23:52 -0700 (PDT)

Thank you Kieran:
As you can see in my code ,I have used two different Pbuf.However ,it's no
use, still only one udp message found in Ethereal.And i don't konw why the
last string "covered with" the first string.Do you meet or see this problem
before ?
Best of Regard
the_gadfly
---------------------
while( count++ < 20 ) 
{
err=udp_send(pcb,p);
if(err==ERR_OK)
{ printf("udp_send OK \n"); }
//Delay(1000000);
// Delay(1000000);
// Delay(1000000);
 err=udp_send(pcb,pbuffer);

}
 



Kieran Mansley wrote:
> 
> On Fri, 2009-07-03 at 03:44 -0700, the_gadfly wrote:
>> And ,when the code sent two different strings in the loop ,
>> still one udp message appeared in Ethereal,but, the content is the last
>> sting.
> 
> Try using a different pbuf for each send.
> 
> Kieran
> 
> 
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-send-udp-messages-circularly---tp24321123p24321597.html
Sent from the lwip-users mailing list archive at Nabble.com.





reply via email to

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