FBB::Hostname objects inherit from Hostent, and offers information
about a host, like Hostent. Apart from being initialized by a hostname or
host address, they can also be initialized by a FBB::InetAddress
object. Most of the functionality of an FBB::Hostname object is available
through its parent-class FBB::Hostent.
NAMESPACE
FBB
All constructors, members, operators and manipulators, mentioned in this
man-page, are defined in the namespace FBB.
INHERITS FROM
FBB::Hostent
CONSTRUCTORS
Hostname():
The default constructor initializes an empty FBB::Hostname object.
Hostname((std::string const &host)):
This constructor initializes an FBB::Hostname object from a string
representing the name or dotted decimal address of a host. An FBB::Errno
object is thrown if the hostname information could not be retrieved.
Hostname(InetAddress const &inetAddress):
This constructor initializes an FBB::Hostname object from an
InetAddress object. An FBB::Errno
object is thrown if the hostname information could not be retrieved.
The copy constructor is available.
MEMBER FUNCTIONS
All members of FBB::Hostent are available, as FBB::Hostname
inherits from this class. There are no additional members.