lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] LWIP RAW API usage


From: schulz, marco
Subject: [lwip-users] LWIP RAW API usage
Date: Mon, 29 Mar 2004 14:24:29 -0000

Hi all,

 

I want to use LWIP together with uCOS-II on an ALTERA NIOS processor. As the main processing part of a data acquisition system the NIOS should do the readout of some ADC channels and build data packets that will be sent to a remote host in a streaming manner.

 

During my first test I could find out that the data throughput using sequential API is small for my application – so I decided to use the RAW API.

I tried the sample programs (httpd.c) and I think I understood the usage of the callbacks.

But when I do my own programs with several tasks to test the streaming I am running into some problems after a short time of operation.

In the Document “Design and Implementation of the LWIP TCP/IP Stack” in chapter 11, I found the following statement: “Furthermore, an application program that interfaces the TCP and UDP modules directly has to (at least partially) reside in the same process as the TCP/IP stack”.

 

So here is my question: Does anybody have sample programs that show the proper usage of the RAW API together with other task (e.g. one task that creates data the will be sent with the RAW API) or can somebody give me a short scheme of how to do this?

 

Tank you in advance, M.Schulz.

 

****************************************

Dipl.-Ing. (FH) Marco Schulz

IPHT Jena

Dept. Quantum Electronics

Albert-Einstein-Str. 9

07745 Jena

 

Phone: +49 3641 206118

FAX:    +49 3641 206199

****************************************

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]