ost::UDPBroadcast(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

✨ ost::UDPBroadcast(3) ✨

okay bestie, pull up a chair because we're talking about ost::UDPBroadcast from the GNU CommonC++ library manual β€” she's a whole class and she's here to serve πŸ’…


🌸 NAME 🌸

ost::UDPBroadcast β€” representing a UDP socket used for subnet broadcasts, this class provides an alternate binding and setPeer() capability for UDP sockets. no cap, that's literally her whole job 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <socket.h>

Inherits ost::UDPSocket. yes she's a nepo baby, she comes from good stock πŸ’–

🌟 Public Member Functions 🌟

  • UDPBroadcast (const IPV4Address &ia, tpport_t port) β€” create and bind a subnet broadcast socket ✨
  • void setPeer (const IPV4Broadcast &subnet, tpport_t port) β€” set peer by subnet rather than specific host πŸ‘‘

πŸŽ€ Additional Inherited Members πŸŽ€

she also got a whole inheritance situation going on, inherited members and all β€” iconic behavior, honestly


πŸ’œ Detailed Description πŸ’œ

Representing a UDP socket used for subnet broadcasts, this class provides an alternate binding and setPeer() capability for UDP sockets. fr fr, that's the vibe check she passes βœ…

Author David Sugar dyfet@ostel.com

Unreliable Datagram for subnet broadcasts. 🌈 (unreliable!! not in a flaky-friend way, in a UDP way, bestie β€” that's just how datagrams are πŸ’€)


🧚 Constructor & Destructor Documentation 🧚

🌸 ost::UDPBroadcast::UDPBroadcast (const IPV4Address & ia, tpport_t port) 🌸

Create and bind a subnet broadcast socket. she's born AND she's already got a job, main character energy πŸ’…

Parameters

  • ia β€” address to bind socket under locally 🏠
  • port β€” port to bind socket under locally πŸ”Œ

πŸ’– Member Function Documentation πŸ’–

πŸ‘‘ void ost::UDPBroadcast::setPeer (const IPV4Broadcast & subnet, tpport_t port) πŸ‘‘

Set peer by subnet rather than specific host. not me picking the whole subnet instead of one single host, lowkey powerful πŸ¦‹

Parameters

  • subnet β€” of peer hosts to send to πŸ“¬
  • port β€” number to use πŸ”’

⭐ Author ⭐

Generated automatically by Doxygen for GNU CommonC++ from the source code. the robots wrote this one and honestly? they ate πŸ€–βœ¨


bestie reminder: this page is ost::UDPBroadcast(3) from the GNU CommonC++ library functions manual πŸ’–

GNU CommonC++ Β· Sun Dec 27 2020 Β· ost::UDPBroadcast(3)

that's the whole page, mwah πŸ’‹ go forth and broadcast responsibly, ily 🫢🌸

πŸ“¦ where this page comes from