lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] [lwip] lwip


From: Zhang Liandong
Subject: [lwip-users] [lwip] lwip
Date: Thu, 09 Jan 2003 01:28:13 -0000

i have port lwip to ucos and now i can browse web page get from the target 
system which run ucos+lwip, but after i refresh the browser several times pbuf 
is used up then lwip stop work. Through debug by printf i find the number of 
pbuf is reduced by a constant value(for a big web page it is 4 for a very 
little one it is 1). but no pbuf is stay on any pcbs, that means some pbufs is 
simply dropped after being used not being freed back to lwip. 

help,help,help

-----原始邮件-----
发件人: address@hidden [mailto:address@hidden Felipe Massia Pereira
发送时间: 2002年9月24日 4:41
收件人: address@hidden
主题: Re: [lwip] lwip


On Mon, 23 Sep 2002, ERIC MAHLAKO wrote:

> I want to know if ever I want to use the LWip to
> receive and transmit data do I have to run
> simhost,simrouter and simnode in Linux machane.

No, simhost and others are just example programs. lwIP is compiled as a
library and these programs are linked against it.

> Can anyone explain to me how to use the LwIP stack in
> linux machine and what are these simhost,simrouter and
> simnode.

Run simhost by typing './simhost'. Maybe you need privileges to access the
tap device, so maybe you need to run it as root. After that you have a web
server running on the IP address 192.168.0.2. Try to put this number in a
web browser or "ping 192.168.0.2". That's lwIP working.

BTW, isnt it in the documentation?

Felipe


[This message was sent through the lwip discussion list.]
[This message was sent through the lwip discussion list.]




reply via email to

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