[openbeos] DHCP (was: Re: Re: StyledEdit issues :...)
- From: François Revol <revol@xxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Thu, 07 Nov 2002 18:34:54 +0100 (CET)
En réponse à Charlie Clark <charlie@xxxxxxxxxxxxxx>: > > On 2002-11-07 at 15:23:42 [+0100], openbeos@xxxxxxxxxxxxx wrote: > > > > thx..but this is not what I want. I want to test my DHCP client..I > will > > port it..compile it and then start it..I will make discovery. I will > find > > a DHCP server. I will be served with an IP address witch I need to se > as > > local IP..how can I do that? from code I mean. I wrote the DHCP > > client..by my DHCP client just prints out the settings that he > receives > > from the server..well this is not enough.. :-)!! I must also apply > this > > settings to a network interface(from C++ code).. how can I do that? > > oops programming, not really my area :-) > You need to look in the API docs which are called the Be Book > http://bang.dhs.org/be/bebook/The%20Network%20Kit/index.html > > I hope that helps. You might also want to join the network kit group's > > mailing list if you're interested in doing networking stuff. > > Charlie > > Changing the IP address normally is just dont through an ioctl() Check the netkit headers, I'm sure you'll find it. François.
Other related posts:
- » [openbeos] DHCP (was: Re: Re: StyledEdit issues :...)