[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NetAddress class
From: |
Federico Montesino Pouzols |
Subject: |
Re: NetAddress class |
Date: |
Mon, 5 Jan 2004 20:02:23 +0100 |
User-agent: |
Mutt/1.5.4i |
It sounds interesting. I suppose this relates the boxed types
and MemoryChunk template you comment on another post?
On Mon, Dec 29, 2003 at 03:20:19AM +0100, "Marc Boris Dürner" wrote:
> Hi,
> For the implementation of classes for numeric IP addresses I am trying to
> treat an IP
> address as a series of bytes. I have a base class NetAddress that has a
> vector<uint8_t>
> as a member and is so usable for inet4, inet6, ipx etc... (and maybe mac
> address as well)
> The derived class Inet4Address for instance has a validator that can
> validate a string as
> input and put 4 bytes into the vector. It provides compatibility
> getter/setter to in_addr.
>
> Is this a good idea?
>
> regards,
> Marc
>
>
> --
> +++ GMX - die erste Adresse für Mail, Message, More +++
> Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net
>
>
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: NetAddress class,
Federico Montesino Pouzols <=