[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] FreeRTOS/lwIP Win32 simulator project now hosted
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] FreeRTOS/lwIP Win32 simulator project now hosted |
Date: |
Thu, 21 Jul 2011 07:48:09 +0200 |
FreeRTOS Info <address@hidden> wrote:
> Eventually, when everything else is done, I would like to also replace
> the static C structs with a 'standard' file system (reading off an SD
> card or the like).
That shouldn't be too hard, since the fs-code used by the httpd is already used
to do that (or at least that's what TI meant it to, I didn't test it, yet).
> I would appreciate feedback on the following:
>
> 1) It was my intention to use FreeRTOS software timers to stimulate the
> tcpip thread to process time outs (ARP timers,etc). However, it seems
> that lwIP V1.4.0 does not require any external help with timers, so
> maybe forcing in FreeRTOS software timers is now overkill.
Yes, it is overkill. Also, I think it's a better example on how to use lwIP if
you do use the timer framework lwIP provides.
> 2) Part of the point of this exercise originally was to have a worked
> example of using lwIP in a multi threaded environment, in addition to
> the win32 contrib project which I used as a starting point. I don't
> think I am yet meeting that goal fully, as the http server uses the raw
> API and is "just" a server. I think adding in a sockets based client
> application would be beneficial, then, to show a client using the stack,
> full multithreading, and how to use the sockets interface. Does anybody
> have any suggestions on an example sockets based client application that
> would be suitable for this purpose? Is the sockets example in the
> contrib directory suitable?
I don't really think so. It works, but it does nothing useful. It's rather
there to show how it works and to test whether blocking/unblocking works, etc.
However, the ping app in contrib has a socket mode, which could be quite useful.
> 3) Likewise, a worked example that includes email, FTP, telnet, etc
> along side the obligatory httpd would be very interesting and I think
> useful for the community at large.
Hmm, did you plan to just include some existing socket apps here, or use raw
API apps?
Simon
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de