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 05:41:00 -0700 (PDT)

Thank you Kieran:

Unfortunately,it is still not work.when i removed the loop ,sent two
different pbufs, only the last string i can find.
Then ,i try to use two different pcbs to send data,i  can  only get  the
last string.
I am going crazy overhere.... 
Best Regards
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 04:23 -0700, the_gadfly wrote:
>> Thank you Kieran:
>> As you can see in my code ,I have used two different Pbuf.
> 
> Yes, but you have a loop that re-uses those pbufs 20 times.  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---tp24321123p24322519.html
Sent from the lwip-users mailing list archive at Nabble.com.





reply via email to

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