ost::IPV4Multicast(3)
β¨ ost::IPV4Multicast β¨
okay bestie, welcome to section 3 of the Library Functions Manual π
β yes it's ost::IPV4Multicast(3), the little address class that gatekeeps your multicast vibes. grab a boba, we're doing this π§
πΈ NAME πΈ
ost::IPV4Multicast β it's a specialization of IPV4Address that does address validation for multicast addresses. that's it, that's the whole job, and it does it flawlessly π
π¦ SYNOPSIS π¦
#include <address.h>
Inherits ost::IPV4Address.
π Public Member Functions
IPV4Multicast ()β makes an Internet Multicast Address object with an empty (0.0.0.0) address.IPV4Multicast (const struct in_addr address)β takes the system internet address data type (struct in_addr) and turns it into a Common C++IPV4Multicastobject.IPV4Multicast (const char *address)β takes a null terminated ASCII multicast address string (example:'224.0.0.1') or a multicast name string (example:'sap.mcast.net') and yeets it directly into a Common C++IPV4Multicastobject.
π Additional Inherited Members
(the stuff it gets from its parent, no notes, it's giving nepo baby but make it functional π)
π Detailed Description π
A specialization of IPV4Address that provides address validation for multicast addresses. she's a specialist, she's booked, she's thriving β¨
the way that every single time its value changes, the new value gets checked to be in the range from224.0.0.1through239.255.255.255?? and if it's not in that range, an exception is thrown. no cap. do not test her π
A multicast network address. iconic behaviour, truly.
Author
Federico Montesino p5087@quintero.fie.us.es
π Constructor & Destructor Documentation π
π«Ά ost::IPV4Multicast::IPV4Multicast ()
Create an Internet Multicast Address object with an empty (0.0.0.0) address. blank slate, main character energy, she's just getting started π±
π ost::IPV4Multicast::IPV4Multicast (const struct in_addr address)
Convert the system internet address data type (struct in_addr) into a Common C++ IPV4Multicast object. glow up from C struct to C++ class, we love a transformation arc π¦
Parameters
addressβ struct of system used binary internet address.
π§ ost::IPV4Multicast::IPV4Multicast (const char * address)
Convert a null terminated ASCII multicast address string (example: '224.0.0.1') or multicast name string (example: 'sap.mcast.net') directly into a Common C++ IPV4Multicast object. works like IPV4Address(const char*). literally the same energy, just with multicast flavour π
Parameters
addressβ null terminated C string.
β Author β
Generated automatically by Doxygen for GNU CommonC++ from the source code. yes bestie, the robots wrote the docs, we just made them cute π
and that's the whole page, you ate that fr fr π this lil' slice of GNU CommonC++ documentation is dated Sun Dec 27 2020 β vintage, lowkey timeless, a classic. mwah, take care of her π«Άπ
π¦ 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