bug-commoncpp
[Top][All Lists]
Advanced

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

Re: New NetworkInterface and InetInterface classes


From: Marc Boris Dürner
Subject: Re: New NetworkInterface and InetInterface classes
Date: Sat, 27 Dec 2003 22:33:01 +0100 (MET)

On Saturday 27 December 2003 22:16, you wrote: 
>       Hi, 
> 
>       at first sight, it seems that NetworkInterface has some things 
> in common with NetworkDeviceInfo (network.h/cpp), are you aware of 
> this class? Do you think it would make sense to merge or coordinate 
> them? 
 
Yes, its supposed to be a replacement. I want to derive more ***Interface
classes from 
NetworkInterface like IPX, Inet4... NetworkDeviceInfo assumes everything is
Inet4. Also 
the NetworkDevice API doesnt tell irq, dma etc.  
 
 
>       I think some things could go into the base library and some 
> others into the hardware extension. For instance, methods and data 
> clearly and directly related to hardware (such as IRQs and DMAs) could 
> be defined in derived classes in the hardware extension, whereas the 
> base classes could go into the base library. 
 
I guess I'll have to ut it in ccHardware. The Hw data is available through
the base class 
NetworkInterface. And all the adress stuff through the derived classes i. e.
InetInterface.  
  
The main problem I have is that I can find no useful information about win32

programming. Has anyone a link? Or is windows networking so limited? On the
other hand 
win32 may not be interested in configuring a network interface, while for
linux its very 
useful. 
 
Any plans to separate the networking stuff into a ccNet module? 
 
regards, 
Marc 
 
 
 
> On Sat, Dec 27, 2003 at 05:54:21PM +0100, "Marc Boris Dürner" wrote: 
> > Hi, 
> > I have written a NetworkInterface class and a InetInterface class. 
> > NetworkInterface is 
> > derived from Socket to get a socket descriptor for the ioctl()s and 
> > InetInterface is derived 
> > from NetworkInterface to initialise the Socket with the domain and type.

> > Any comments? 
> > 
> > Should this go into the ccBaseKit or in the ccHardware extension? 
> > 
> > regards, 
> > Marc 

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net






reply via email to

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