Hello,
I understand you want your target to resolve the hostname "www.ietf.org"?
Or do you want your target to configure its own IP address?
In the latter case, read the top of dhcp.c in lwIP.
In the first case, you will need to implement DNS support to lwIP.
Search the mailing list archives for prior work.
Regards,
Leon.
[EMAIL PROTECTED] wrote:
where can I find those examples?
Thanks...
-- Messaggio Originale --
Date: Mon, 04 Jul 2005 07:22:12 -0700
From: Jim Gibbons <[EMAIL PROTECTED]>
To: Mailing list for lwIP users <[email protected]>
Subject: Re: [lwip-users] Tips lwip
Reply-To: Mailing list for lwIP users <[email protected]>
The most likely answer is DHCP. There is a module for this in lwip. It
will work if the network at the other end of the line provides this
service.
My knowledge of the details of using DHCP relate to now obsolete
revisions of lwIP. Your best bet for that would be to find an example
for the revision that you are using. It has always been pretty easy,
though, so I don't think you will have any problems.
[EMAIL PROTECTED] wrote:
Hello, I finally build up an http_client into my embedded device with
lwip
but I would like to get the IP address after its connection to the GPRS
net...
My http_client does a connection to Internet for downloading a file from
www.ietf.org...
How can I get the IP address? Do you know any function
___________________
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users