lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Tuning UDP


From: mgirke
Subject: [lwip-users] Tuning UDP
Date: Thu, 10 Nov 2016 06:34:24 -0700 (MST)

Hi,

My network clients are experiencing high increasing package loss when I
increase the amount of data sent. I think there is some kind of MEM
problem?!?!

here is what I do:

char text[1024];
struct netbuf *buf;
buf = netbuf_new();
netbuf_alloc(buf, sizeof(text));

sprintf(text, "here I define 1024 char");

netbuf_ref(buf, text, strlen(text));

// sending data to different clients
err = netconn_sendto(conn, buf, &remote_ip_addr, 10001);
err = netconn_sendto(conn, buf, &remote_ip_addr2, 10001);
err = netconn_sendto(conn, buf, &remote_ip_addr3, 10001);
err = netconn_sendto(conn, buf, &remote_ip_addr4, 10001);                       
err = netconn_sendto(conn, buf, &remote_ip_addr5, 10001);

So I am sending the same data to different clients. I tried several things
but I still experience package loss.

Thanks!



--
View this message in context: 
http://lwip.100.n7.nabble.com/Tuning-UDP-tp27752.html
Sent from the lwip-users mailing list archive at Nabble.com.



reply via email to

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