On Wed, 2009-03-04 at 09:27 -0500, Chen wrote:
> char dummy_data[2048];
> total=10000000;
> count=0;
> do{
> l=lwip_send(clientfd, dummy_data,payloadsize, 0);
> count =count+l;
> }while (count<total)
Can you check that lwip_send is not returning an error? The value
returned by lwip_send will either be the size sent if l > 0, or an error
if l < 0. This could explain why things go badly wrong for you.
Kieran
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users