[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Network Device Informations
From: |
Prochnow, Christian |
Subject: |
Re: Network Device Informations |
Date: |
Thu, 14 Nov 2002 11:49:27 +0100 |
User-agent: |
KMail/1.4.3 |
Hi,
The ioctl() calls made in enumNetworkDevices() should work under Linux,
Solaris and FreeBSD cause this is a common UNIX ioctl. The structures used
are also UNIX-common.
ioctl() are very different between unices if we want to query IPv6 devices
also - but Common C++ doesnt support IPv6 at all, right ?
So adding IPv6 support to Common C++ and to the NetworkDeviceInfo class should
be a TODO item for future releases.
So what dou you think of the MTU issue ?
Does anyone know if Common C++ works under Win95 ?
And when - do you think we should break compatibility with Win95 cause of this
MIB functions ? Or should the Win95 implementation simply return "-1" as MTU.
I think querying the MTU is a common-task for UDP-message oriented protocols.
I'm using Common C++ to develop Finance Realtime Applications for my employer
(a German company) which mainly runs Linux on their Servers and Windows on
their Workstations.
Cause i'm actively using Common C++ now, and also did a portable application
framework (P::Classes) in the past i would like to continue contributing to
the Common C++ Project.
Regards,
Christian Prochnow
Am Donnerstag, 14. November 2002 00:42 schrieben Sie:
> This is also the kind of things Common C++ is meant to be abstracting. I
> agree it is something we should try to add.
>
> On Wed, 13 Nov 2002, Federico Montesino Pouzols wrote:
> > Ummm, I think this adds interesting features. I think this
> > should be added soon to the unstable branch, at least. I will do some
> > tests, tell us if you check it works on other platforms, as I believe
> > that some of the system calls may be problematic.
> >
> > On Wed, Nov 13, 2002 at 02:26:23PM +0100, Prochnow, Christian wrote:
> > > Hi List,
> > >
> > > For a networking application i needed to query a list of Network
> > > Devices and their Broadcast addresses to ignore Broadcasts from my own.
> > > Here's the solution which i think is of interest for implementing it in
> > > Common C++.
> > >
> > > This solution is tested under Linux, but should also work under other
> > > UNIX systems which needs to be verified. Win32 stuff is also
> > > implemented, but untested. I also did'nt find a way to get the MTU
> > > under Win32 without braking compatibility with Win95 (with >= Win98 it
> > > is possible to get the MTU via MIB extensions).
> > >
> > >
> > >
> > > Regards,
> > > Christian Prochnow
> >
> > _______________________________________________
> > Bug-commoncpp mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/bug-commoncpp
- Network Device Informations, Prochnow, Christian, 2002/11/13
- Re: Network Device Informations, Federico Montesino Pouzols, 2002/11/13
- Re: Network Device Informations, David Sugar, 2002/11/13
- Re: Network Device Informations,
Prochnow, Christian <=
- Re: Network Device Informations, David Sugar, 2002/11/14
- Re: Network Device Informations, Federico Montesino Pouzols, 2002/11/14
- Re: Network Device Informations, David Sugar, 2002/11/15
- Re: Network Device Informations, Federico Montesino Pouzols, 2002/11/16
- Re: Network Device Informations, Prochnow, Christian, 2002/11/16
- Re: Network Device Informations, Federico Montesino Pouzols, 2002/11/16