Hi,
I am able to receive UDP messages but it only works sometimes. In my example
I sent a UDP message and I get an automatic reply. But this only works every
3-6 messages. What can be the problem. I am working on a Atsame70 with RTOS
and Lwip 1.4
do {
if (ERR_OK == netconn_recv(conn, &inbuf)) {
netbuf_free(inbuf);
netbuf_delete(inbuf);
sprintf(text, "Antwort = %i", (counter_ms+10000));
//1024
netbuf_ref(buf, text, strlen(text));
err = netconn_sendto(conn, buf, &remote_ip_addr, 10001);
}
} while (1);
Thanks for any ideas!
--
View this message in context:
http://lwip.100.n7.nabble.com/Recv-UDP-Problem-tp27826.html
Sent from the lwip-users mailing list archive at Nabble.com.
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users