lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] changes in IP/UDP for DHCP


From: Horst Garnetzke
Subject: [lwip-users] Re: [lwip] changes in IP/UDP for DHCP
Date: Wed, 08 Jan 2003 23:57:25 -0000

Hi Leon,

address@hidden wrote:

> I used:
> 
> udp_bind(state->pcb, IP_ADDR_ANY, DHCP_CLIENT_PORT);
> udp_connect(state->pcb, IP_ADDR_ANY, DHCP_SERVER_PORT);
> 
                         ^^^^^^^^^^^^^^

                         255.255.255.255 ?

I think you want to send out a DHCP broadcast!? So why not use:
udp_connect(state->pcb, IP_ADDR_BROADCAST, DHCP_SERVER_PORT);

Please _don't_ change IP_ADDR_ANY!

btw, I'm glad to here that you are currently porting your
DHCP client to lwip - i'm very interested in that! Some times ago I
had a look at your DHCP(web-)sources - but it seems to much
work to me :-(

If you are looking for a tester - contact me!

/Horst

-- 
Horst Garnetzke                      address@hidden
PULSAR GmbH,  Sorbenstrasse 45,   D-20537 Hamburg
++49 40 251546-11 (-17 FAX)  http://www.pulsar.de

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




reply via email to

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