[openbeosnetteam] Re: New stack
- From: "vladimir reikine" <vreikine@xxxxxxxxx>
- To: openbeosnetteam@xxxxxxxxxxxxx
- Date: Tue, 22 Jul 2003 15:01:35 -0400
>Do you plan to rewrite the stack in C++ when we get shared kernel libraries
>(or at some later point)? I think you said we do not want to force people to
>use C++. But it looks much nicer. ;)
>
Is it really a big deal C or C++ ? I would prefer C but then I haven't add a
single line code yet, I better be quiet.
netstack is in kernel, app developers don't need to access it directly - C++
API wrappers will be used anyway.
>> > I could really need some way to set up nameservers from the kernel.
>>
>> And editing /etc/resolv.conf is not an option?
>
>Editing a file from kernel-land? I would not like to do that.
It should be the same as regular DHCP client, IMHO.
>> Currently, all DNS stuff is in libnet.so, maybe we should move some of
>> this in the stack itself, via
>> a DNS protocol module and a special socket type?
>> That will allow network file system to have name services from kernel
>> too...
>
>I did not think of a DNS protocol module. Instead, the protocol itself
>should do that. An IPv4 nameserver should be added to the IPv4 module.
>The DNS module could work, too.
>Are there any cases where moving the nameserver from its protocol to the DNS
>module is better? I think it is sufficient to add the entries as attributes
>to the protocol.
I don't think that it would be suffucient.
gethostbyname() should not depend on what protocol is used. Moreover, it
shouldn't depend on interface neither (PPP is going to be bound to particular
interface, right ?) Aren't we going to be POSIX compliant one day, are we ?
DNS client daemon/module is the only solution I can see.
Vlad
____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
- Follow-Ups:
- [openbeosnetteam] Re: New stack
- From: Philippe Houdoin
Other related posts:
- » [openbeosnetteam] New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- » [openbeosnetteam] Re: New stack
- [openbeosnetteam] Re: New stack
- From: Philippe Houdoin