bug-commoncpp
[Top][All Lists]
Advanced

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

Re: InetAddress classes


From: Federico Montesino Pouzols
Subject: Re: InetAddress classes
Date: Sat, 27 Dec 2003 23:02:12 +0100
User-agent: Mutt/1.5.4i

        I think it makes sense to split the numeric IP address
handling and the DNS services. InetAddress objects encapsulate both
things. Apart from internal design -which does not affect the CC++
interface-, are there applications which may benefit from isolated
access to these services?

        If there were support for asynchronous DNS resolving (like in
GNU adns), a separated class/hierarchy Resolver would be very
interesting to add.

On Sat, Dec 27, 2003 at 01:06:48AM +0100, "Marc Boris Dürner" wrote:
> Hi, 
> I am looking at the InetAddress class and the derived ones right now.  
>  
> - shouldnt (or could?) the gethostname stuff be in a class Resolver? That
> way resolving 
> and raw IP handling would be separated. Does this make sense?  
>  




reply via email to

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