|
From: | Nenad Pekez |
Subject: | Re: [lwip-users] LwIP RAW - Simultaneous (full-duplex) communication |
Date: | Fri, 6 Jul 2018 16:04:16 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
I have been copying it like this: if(p->tot_len < BUF_SIZE) { if (pbuf_copy_partial(p, (void*)buf, p->tot_len, 0) != p->tot_len) { xil_printf("total copied != p->tot_len\n"); } }I guess that using pbuf_copy_partial is a valid way to do the copying to application buffer, isn't it? This seems like some memory corruption.
[Prev in Thread] | Current Thread | [Next in Thread] |