ost::UDPBroadcast(3)
β¨ 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
- 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