lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] dhcp and bsd socket library for lwIP


From: Ted Jhonson
Subject: [lwip-users] dhcp and bsd socket library for lwIP
Date: Wed, 21 May 2008 00:11:59 -0700 (PDT)

Hi,
I am new in using lwIP. I need some help.
1. I am trying to use BSD soket library that is supported in lwIP, means I am trying to use socket, sendto etc functions instead of netconn_** functions. I have seen some examples in contrib folder but I still have following doubts:
1. How should I do the initializations? which functions should I call to initialize the stack?
I want to use dhcp. Do you have any source code (of any server/client program) as an example where I can find how to use the DHCP calls? I would be interested to know when DHCP is up, how do I find out the IP address(and subnet mask) that I have got?
So kindly share any source code/project where I can findout the initialization sequence of the stack for using dhcp with BSD socket library functions.
Thanking you in advance,
Ted.


reply via email to

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