ost::IPV6Host(3)
ost::IPV6Host π (the IPV6Host era)
okay bestie, this one lives in the Library Functions Manual section of GNU CommonC++, and it's genuinely so useful β it's the little object that holds onto a real, valid internet address for one specific host machine, the one you're gonna talk to over a socket. π¦
β¨ 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. no cap, that's literally its whole job and it does it flawlessly. π
β¨ SYNOPSIS β¨
#include <address.h>
Inherits ost::IPV6Address. yes she's got lineage, she's a nepo baby and we love her for it. π
Public Member Functions
IPV6Host(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 (like the onesaccept()orgetsockpeer()hand you) into an internet host address object. π₯IPV6Host &operator&=(const IPV6Mask &mask)β mask the internet host address object with a network mask address. β¨
Friends
class __EXPORT IPV6Mask__EXPORT IPV6Host operator&(const IPV6Host &addr, const IPV6Mask &mask)
Additional Inherited Members
(yeah she inherited stuff, it's giving family business, but that's a whole other page π«Ά)
β¨ 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.
Address of a specific Internet host machine. π
Author: David Sugar dyfet@ostel.com
β¨ Constructor & Destructor Documentation β¨
ost::IPV6Host::IPV6Host(const char *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 it can include either the physical host address or the DNS name of a host machine. so like, you can literally just declare an IPV6Host ('www.voxilla.org') directly, right there, and it just works. iconic behavior honestly. β¨
Defaults to the IP address that represents the interface matching gethostname(). π
Parameters
hostβ dns or physical address of an Internet host.
ost::IPV6Host::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. π₯
Parameters
addrβ binary address of internet host.
β¨ Member Function Documentation β¨
IPV6Host& ost::IPV6Host::operator&=(const IPV6Mask &mask)
Mask the internet host address object with a network mask address. this is commonly used to coerce an address by subnet. π
β¨ Friends And Related Function Documentation β¨
friend class __EXPORT IPV6Mask[friend] π__EXPORT IPV6Host operator&(const IPV6Host &addr, const IPV6Mask &mask)[friend] β yes it's the friend version, the&between a host and a mask, slay. π¦
β¨ AUTHOR β¨
Generated automatically by Doxygen for GNU CommonC++ from the source code. π€ (not me writing it by hand, the robot did it, and honestly? it ate.)
and that's the whole page bestie, every option, every signature, every parameter, untouched, just vibing. π«Ά
this came from GNU CommonC++, dated Sun Dec 27 2020, page ost::IPV6Host(3) β periodt. πβ¨
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms