|
From: | Leon Woestenberg |
Subject: | Re: [lwip-users] Tips lwip |
Date: | Sun, 10 Jul 2005 00:10:48 +0200 |
User-agent: | Mozilla Thunderbird 1.0.2 (X11/20050404) |
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. address@hidden wrote:
where can I find those examples? Thanks...-- Messaggio Originale -- Date: Mon, 04 Jul 2005 07:22:12 -0700 From: Jim Gibbons <address@hidden> To: Mailing list for lwIP users <address@hidden> Subject: Re: [lwip-users] Tips lwip Reply-To: Mailing list for lwIP users <address@hidden> The most likely answer is DHCP. There is a module for this in lwip. Itwill 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.address@hidden wrote:Hello, I finally build up an http_client into my embedded device withlwipbut I would like to get the IP address after its connection to the GPRSnet...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 ___________________
[Prev in Thread] | Current Thread | [Next in Thread] |