ost::IPV4Multicast(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

✨ 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++ IPV4Multicast object.
  • 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++ IPV4Multicast object.

🌈 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 from 224.0.0.1 through 239.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