I want develop class InetSubnet based on class InetAddress and etc.
This class will include as members classes InetHostAddress, InetMaskAddress, BroadcastAddress. And method defining is InetAddress belong InetSubnet or not.
Do anyone have any idea, what may this class have too?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am actually thinking about redoing the entire address architecture for Common C++ 2.0. In particular, I am thinking of using a new "Address" base that is a full struct sockaddr and thereby support subclasses by addressing domains and ipv6, as well as aggregate port and address into one object and eliminate extra paramaters...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want develop class InetSubnet based on class InetAddress and etc.
This class will include as members classes InetHostAddress, InetMaskAddress, BroadcastAddress. And method defining is InetAddress belong InetSubnet or not.
Do anyone have any idea, what may this class have too?
I am actually thinking about redoing the entire address architecture for Common C++ 2.0. In particular, I am thinking of using a new "Address" base that is a full struct sockaddr and thereby support subclasses by addressing domains and ipv6, as well as aggregate port and address into one object and eliminate extra paramaters...