Re: [lwip-users] Transfer Mibs of data over TCP

2017-04-04 Thread Sylvain Rochet
Hi, On Mon, Apr 03, 2017 at 09:38:34PM +, Noam Weissman wrote: > > Sorry I meant netconn_recv etc... This is still very ugly (and wrong for my point of view on perfect software). Waiting for something to happen for a given time should be achieved using the LWIP_SO_RCVTIMEO feature. If

Re: [lwip-users] Transfer Mibs of data over TCP

2017-04-04 Thread Noam Weissman
esday, April 4, 2017 12:30 AM To: Mailing list for lwIP users Subject: Re: [lwip-users] Transfer Mibs of data over TCP Hi, On Mon, Apr 03, 2017 at 01:43:44PM +, Noam Weissman wrote: > Hi, > > Why not use the RAW API server that is in the contribution ? > > I am not using it becau

Re: [lwip-users] Transfer Mibs of data over TCP

2017-04-04 Thread goldsimon
Am 3. April 2017 23:30:52 MESZ schrieb Sylvain Rochet: >WTF. Did you even read what the netbuf_next() function actually does ? I can only agree to Sylvain. Noam, I am thankful to everyone contributing here, but this example is just so wrong! Please stop confusing people. Sion

Re: [lwip-users] Transfer Mibs of data over TCP

2017-04-03 Thread Sylvain Rochet
Hi, On Mon, Apr 03, 2017 at 01:43:44PM +, Noam Weissman wrote: > Hi, > > Why not use the RAW API server that is in the contribution ? > > I am not using it because am using my own modified code that was created > before the current version. > As far as I know it works nicely and many are

Re: [lwip-users] Transfer Mibs of data over TCP

2017-04-03 Thread Noam Weissman
ers [mailto:lwip-users-bounces+noam=silrd@nongnu.org] On Behalf Of Tóth Norbert Sent: Monday, April 03, 2017 4:03 PM To: lwip-users@nongnu.org Subject: [lwip-users] Transfer Mibs of data over TCP Hi Folks, I develop a system based on the followings: * TM4C1294 TI Cortex M4

[lwip-users] Transfer Mibs of data over TCP

2017-04-03 Thread Tóth Norbert
Hi Folks, I develop a system based on the followings: - TM4C1294 TI Cortex M4 CPU - FreeRTOS 7.x - TinyFS for FAT file system handling on SD card - LwIP 1.4.1 netconn API I have to receive files (20-40MB) via HTTP POST request and store them into SD card (basically