|
From: | Mike Fleetwood |
Subject: | Re: [lwip-users] Problems with sending UDP packets in FreeRTOS |
Date: | Thu, 28 Jul 2016 14:59:35 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
Hi Sylvain, Again, the snippet wasn't my code. It was borrowed from an example that Noam linked to. I only added it to my software to see if it resulted in the same problem as my original code did - which it did. I didn't bother correcting the string length, as it made no difference to the fault - as you know, UDP just sends as much data as it is told to, makes no difference what the actual content is - the string is just so much padding to fill the packet (I could have left it empty, and just sent so many bytes of whatever garbage was already in the buffer, but I didn't). Regards, Mike. On 28/07/2016 13:36, Sylvain Rochet
wrote:
Hi, On Thu, Jul 28, 2016 at 12:46:54PM +0200, Simon Goldschmidt wrote:<div>Sylvain, have you read the "I tried one of Noam's linked examples (included below)" part of Mike's message? ;-)</div>That doesn't change anything, the snippet is still terribly wrong. A name is just a string :-), everyone is smart enough to replace with the appropriate string if I missed that. So, here is my fix: s/Mike/Noam/ :-) Sylvain -- FACE Systems Ltd The Old Boat House Cadgwith Cornwall TR12 7JX T:01326 291031 M:07831 401464 |
[Prev in Thread] | Current Thread | [Next in Thread] |