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
> [email protected]
> 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.



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to