RTPBaseUDPIPv4Socket(3)
β¨ RTPBaseUDPIPv4Socket π
okay bestie, welcome to the RTPBaseUDPIPv4Socket(3) glow-up π
this one lives in the Library Functions Manual, and honestly? she's a whole vibe. a UDP/IPv4 socket class that's specifically built for RTP stacks. no cap.
πΈ NAME πΈ
RTPBaseUDPIPv4Socket β a UDP/IPv4 socket class targeted at RTP stacks. periodt. π
π¦ SYNOPSIS π¦
#include <channel.h>
Inherits UDPSocket. she's got lineage, okurrr π
β¨ Public Member Functions β¨
RTPBaseUDPIPv4Socket (const InetAddress &ia, tpport_t port)β Constructor for receiver.~RTPBaseUDPIPv4Socket ()β the destructor, she's leaving the chat π«Άbool isPendingRecv (microtimeout_t timeout)InetHostAddress getSender (tpport_t &port) constsize_t recv (unsigned char *buffer, size_t len)size_t getNextPacketSize () constβ Get size of next datagram waiting to be read.Socket::Error setMulticast (bool enable)Socket::Error join (const InetMcastAddress &ia, uint32 iface)Socket::Error drop (const InetMcastAddress &ia)Socket::Error setTimeToLive (unsigned char ttl)RTPBaseUDPIPv4Socket ()β Constructor for transmitter.void setPeer (const InetAddress &ia, tpport_t port)size_t send (const unsigned char *const buffer, size_t len)SOCKET getRecvSocket () constvoid endSocket ()
π Detailed Description π
A UDP/IPv4 socket class targeted at RTP stacks. literally what it says on the tin bestie.
This class provides a flat interface that includes all the services required by an RTP stack. the way she just hands you everything you need... iconic. π
It can be used in two ways:
- To instantiate the
DualSockettemplate, which will be used to instantiate an RTP stack template (such asTRTPSessionBase). - To directly instantiate an RTP stack template (such as
TRTPSessionBase).
This class offers an example of the interface that other classes should provide in order to specialize the ccRTP stack for different underlying protocols. she's not just a socket, she's a role model π
π Author π
Federico Montesino Pouzols fedemp@altern.org β king behavior, we stan π«Ά
π Constructor & Destructor Documentation π
RTPBaseUDPIPv4Socket::RTPBaseUDPIPv4Socket (const InetAddress & ia, tpport_t port) [inline]
Constructor for receiver. she's here to receive, and she's ready π
RTPBaseUDPIPv4Socket::~RTPBaseUDPIPv4Socket () [inline]
the goodbye era π
RTPBaseUDPIPv4Socket::RTPBaseUDPIPv4Socket () [inline]
Constructor for transmitter. this version's got main character energy and she sends. π₯
β Member Function Documentation β
Socket::Error RTPBaseUDPIPv4Socket::drop (const InetMcastAddress & ia) [inline]
void RTPBaseUDPIPv4Socket::endSocket () [inline]
size_t RTPBaseUDPIPv4Socket::getNextPacketSize () const [inline]
Get size of next datagram waiting to be read. she's peeking at the queue, no shame π
SOCKET RTPBaseUDPIPv4Socket::getRecvSocket () const [inline]
InetHostAddress RTPBaseUDPIPv4Socket::getSender (tpport_t & port) const [inline]
bool RTPBaseUDPIPv4Socket::isPendingRecv (microtimeout_t timeout) [inline]
Socket::Error RTPBaseUDPIPv4Socket::join (const InetMcastAddress & ia, uint32 iface) [inline]
size_t RTPBaseUDPIPv4Socket::recv (unsigned char * buffer, size_t len) [inline]
size_t RTPBaseUDPIPv4Socket::send (const unsigned char *const buffer, size_t len) [inline]
Socket::Error RTPBaseUDPIPv4Socket::setMulticast (bool enable) [inline]
void RTPBaseUDPIPv4Socket::setPeer (const InetAddress & ia, tpport_t port) [inline]
Socket::Error RTPBaseUDPIPv4Socket::setTimeToLive (unsigned char ttl) [inline]
π Author π
Generated automatically by Doxygen for ccRTP from the source code. π€β¨
okay that's the whole page bestie, and yes β it's from the ccRTP era, RTPBaseUDPIPv4Socket(3), Library Functions Manual, generated-by-Doxygen realness π go forth and socket responsibly, ily ππ¦
π¦ 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