|
From: | Chen |
Subject: | RE: RE: Re: [lwip-users] Struggling to build a TCP echo server |
Date: | Thu, 05 Feb 2009 13:10:37 -0500 |
Date: Thu, 5 Feb 2009 10:54:50 -0500
From: "bill" <address@hidden>
Subject: RE: RE: Re: [lwip-users] Struggling to build a TCP echo
server
To: "'Mailing list for lwIP users'" <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"
If by TCP_* API you mean the RAW API in lwIP terms, yes, it's the only API I
use. I do so strictly for performance reasons and because we don't use an
OS (in the lwIP sense of the term). If you have an OS I'd use the netconn
or socket API? The latter will give you pretty good compatibility at the
application level. If you don't have an OS (the NO_SYS=1 lwIP setting)
start with the httpserver_raw demo and use that as a base for sending and
receiving data. Just do your echo server in those callbacks.
Bill
[Prev in Thread] | Current Thread | [Next in Thread] |