logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ost::IPV6Host - This object is used to hold the actual and valid internet address of a specific host

Author

       Generated automatically by Doxygen for GNU CommonC++ from the source code.

GNU CommonC++                                    Sun Dec 27 2020                                ost::IPV6Host(3)

Constructor & Destructor Documentation

ost::IPV6Host::IPV6Host(constchar*host=NULL)
       Create a new host address for a specific internet host. The internet host can be specified in a null
       terminated ASCII string and include either the physical host address or the DNS name of a host machine.
       Hence, an IPV6Host ('www.voxilla.org') can be directly declaired in this manner.

       Defaults to the IP address that represents the interface matching 'gethostname()'.

       Parametershost dns or physical address of an Internet host.

   ost::IPV6Host::IPV6Host(structin6_addraddr)
       Convert a system socket binary address such as may be returned through the accept() call or getsockpeer()
       into an internet host address object.

       Parametersaddr binary address of internet host.

Detailed Description

       This object is used to hold the actual and valid internet address of a specific host machine that will be
       accessed through a socket.

       Author
           David Sugar dyfet@ostel.com

       Address of a specific Internet host machine.

Member Function Documentation

IPV6Host&ost::IPV6Host::operator&=(constIPV6Mask&mask)
       Mask the internet host address object with a network mask address. This is commonly used to coerce an
       address by subnet.

Name

       ost::IPV6Host - This object is used to hold the actual and valid internet address of a specific host
       machine that will be accessed through a socket.

Synopsis

       #include <address.h>

       Inherits ost::IPV6Address.

   PublicMemberFunctionsIPV6Host (const char *host=NULL)
           Create a new host address for a specific internet host.
       IPV6Host (struct in6_addr addr)
           Convert a system socket binary address such as may be returned through the accept() call or
           getsockpeer() into an internet host address object.
       IPV6Host & operator&= (const IPV6Mask &mask)
           Mask the internet host address object with a network mask address.

   Friends
       class __EXPORTIPV6Mask__EXPORTIPV6Hostoperator& (const IPV6Host &addr, const IPV6Mask &mask)

   AdditionalInheritedMembers

See Also