ost::IPV6Multicast(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

✨ ost::IPV6Multicast ✨

okay bestie, we're in the Library Functions Manual section, and today's main character is ost::IPV6Multicast πŸ’… she's a whole vibe, she's a class, and she's here to make sure your multicast addresses are actually valid before they get to do anything cute.


🌸 NAME 🌸

ost::IPV6Multicast β€” it's a specialization of IPV6Address that does address validation for multicast addresses. like, she's the friend who checks your outfit before you leave the house. no cap. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <address.h>

Inherits ost::IPV6Address. she's literally family, she got it from her mama. πŸ’–

✨ Public Member Functions ✨

  • IPV6Multicast () β€” makes you an Internet Multicast Address object, but it's empty, aka the 0.0.0.0 address. a blank slate, a fresh face, main character energy before the plot kicks in πŸŽ€
  • IPV6Multicast (const struct in6_addr address) β€” takes the system internet address data type (that's struct in_addr) and converts it into a Common C++ IPV4Multicast object. glow-up transformation, honestly ✨
  • IPV6Multicast (const char *address) β€” takes a null terminated ASCII multicast address string (for example: '224.0.0.1') or a multicast name string (for example: 'sap.mcast.net') and turns it directly into a Common C++ IPV6Multicast object. it's giving "text me your address" but make it C++ πŸ’Œ

🧚 Additional Inherited Members 🧚

there's more stuff she got from IPV6Address β€” inherited, iconic, not listed here. iykyk.


πŸ’œ Detailed Description πŸ’œ

so, ost::IPV6Multicast is a specialization of IPV6Address that provides address validation for multicast addresses. that's the whole point of her existence and she's slaying it. 🌈

here's the tea, bestie: whenever its value changes, the new value gets checked to be in the range from 224.0.0.1 through 239.255.255.255. and if it's not? an exception is thrown. no warning, no soft launch, no "hey maybe don't do that" β€” just an exception. so don't try it. πŸ™ˆ

she is, at the end of the day, a multicast network address. periodt. πŸ’…

🌟 Author 🌟

Federico Montesino β€” p5087@quintero.fie.us.es


πŸŽ€ Constructor & Destructor Documentation πŸŽ€

⭐ ost::IPV6Multicast::IPV6Multicast () ⭐

creates an Internet Multicast Address object with an empty (0.0.0.0) address. she starts out as a nobody and becomes somebody, we love a character arc πŸ¦‹

⭐ ost::IPV6Multicast::IPV6Multicast (const struct in6_addr address) ⭐

converts the system internet address data type (struct in_addr) into a Common C++ IPV4Multicast object.

Parameters

  • address β€” the struct of system used binary internet address. it's raw, it's binary, it needs a little makeover ✨

⭐ ost::IPV6Multicast::IPV6Multicast (const char * address) ⭐

converts a null terminated ASCII multicast address string (for example: '224.0.0.1') or a multicast name string (for example: 'sap.mcast.net') directly into a Common C++ IPV6Multicast object. she works just like IPV6Address(const char*) does β€” same energy, same behavior, no drama πŸ’–

Parameters

  • address β€” a null terminated C string. yes bestie, null terminated, don't forget the null, it's not optional 😭

πŸ‘‘ Author πŸ‘‘

generated automatically by Doxygen for GNU CommonC++ from the source code. so technically a robot wrote this and i'm just here to make it cute. we love a glow-up pipeline 🫢


okay that's the whole page, bestie! πŸ’– this one came to you from GNU CommonC++, dated Sun Dec 27 2020, and it lives at ost::IPV6Multicast(3). go forth and validate your multicast addresses, and remember: if it's not between 224.0.0.1 and 239.255.255.255, she WILL throw. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from