lwip

Sep 27, 2006 4 Replies

hi



i have a quick question:



do i have to use lwip_init() for raw_api mode as well or do i have to call all the mem_init() etc. seperatly?



when using the raw mode and calling all the init functions as in the xilinx example a call to sys_new_thread() wont start the new thread and it looks likte the function doesn't do anything. could somebody help me out here please?



thanks urban



Hi, There are 2 modes of operation for lwIP stack - RAW API, Sockets API. The initializations are different based on the mode chosen. Please take a look at the lwIP documentation that is part of the EDK release. Look for the lwIP chapter in the OS & Libraries guide.

Sathya

u snipped-for-privacy@yahoo.de wrote:

hi

thanks. i did take a look into those pdf's and i initialized the raw api mode according to the example in this pdf. but it didn't work. can't i use raw api mode with xilkernel and use the function "sys_thread_new()" ?

hi

thanks for the answer. i did look at those pdfs and initialised the raw mode according to the manual. still the sys_thread_new function dosen't work. can't i use raw mode with the xilkernel?

In short, the answer is no. RAW API mode does not require any kernel services. The sockets mode is implemented using kernel features and hence you need xilkernel when using Sockets mode.

Sathya

u snipped-for-privacy@yahoo.de wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required