Destinatio...ortAddress(3)
π Destinatio...ortAddress β the manual page, bestie π
okay so real talk: this page lives in the Library Functions Manual, and it's section 3, and the thing it's documenting is a whole class called DestinationListHandler::TransportAddress. It's a lil struct-y vibe holder that carries around a network address and two ports. That's the whole plot. Let's get into it π«Ά
β¨ NAME β¨
DestinationListHandler::TransportAddress β periodt, that's the name π
πΈ SYNOPSIS πΈ
#include <oqueue.h>
π Public Member Functions
TransportAddress (InetAddress na, tpport_t dtp, tpport_t ctp)β the constructor, she builds the thing from a network address plus two portsconst InetAddress & getNetworkAddress () constβ hands you back the network address, by const reference, no copies, we're efficienttpport_t getDataTransportPort () constβ hands you back the data transport porttpport_t getControlTransportPort () constβ hands you back the control transport port
π Public Attributes
InetAddress networkAddressβ the network address, just vibing out in the opentpport_t dataTransportPortβ the data transport porttpport_t controlTransportPortβ the control transport port
π¦ Constructor & Destructor Documentation π¦
the constructor, aka main character energy
DestinationListHandler::TransportAddress::TransportAddress (InetAddress na,
tpport_t dtp, tpport_t ctp) [inline]
she's [inline], she takes three things β na, dtp, ctp β and she is literally the whole origin story π₯
π₯ Member Function Documentation π₯
getControlTransportPort
tpport_t DestinationListHandler::TransportAddress::getControlTransportPort
() const [inline]
gives you the control transport port back, and yes she's [inline] because we do not waste a function call in this house π
getDataTransportPort
tpport_t DestinationListHandler::TransportAddress::getDataTransportPort ()
const [inline]
gives you the data transport port back. also [inline]. iconic behavior, honestly π
getNetworkAddress
const InetAddress &
DestinationListHandler::TransportAddress::getNetworkAddress () const
[inline]
returns a const InetAddress & β a reference, bestie, so nobody's copying a whole address object for no reason β and yeah, [inline] too β¨
π Member Data Documentation π
tpport_t DestinationListHandler::TransportAddress::controlTransportPortβ the control transport port, sitting right there in public like it owns the placetpport_t DestinationListHandler::TransportAddress::dataTransportPortβ the data transport port, also out in the open, also thrivingInetAddress DestinationListHandler::TransportAddress::networkAddressβ the network address itself. the blueprint. the moment. π
β Author β
Generated automatically by Doxygen for ccRTP from the source code.
so like, a robot wrote this, not a human, which is kind of giving "the machines are doing our homework" but honestly she ate π
and that's the whole page, babe β the footer says this one's from ccRTP and it's the Library Functions Manual's Destinatio...ortAddress(3) page, so go forth and go get that oqueue.h included π§π no cap, you got this π
π¦ where this page comes from
- debian trixie: libccrtp-doc 2.0.9-4.1 Β· GPL-2.0-or-later WITH MIF exception
- ubuntu noble: libccrtp-doc 2.0.9-2.5build1
- ubuntu questing: libccrtp-doc 2.0.9-4.1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms