DualUDPIPv4Socket(3)

πŸ“¦
version 2.0.9 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu questing

πŸ’– DualUDPIPv4Socket πŸ’–

okay bestie, gather round, because we're reading the DualUDPIPv4Socket(3) page from the Library Functions Manual and it's lowkey iconic. it's a C++ socket class. it's two UDP/IPv4 sockets in a trench coat. let's get into it 🫢


✨ NAME ✨

DualUDPIPv4Socket β€” a socket class based on two UDP/IPv4 sockets. that's it, that's the whole name section, no notes πŸ’…


🌸 SYNOPSIS 🌸

#include <channel.h>

that's the entire include. one line. slay.


πŸ¦‹ Detailed Description πŸ¦‹

okay so. it's a socket class based on two UDP/IPv4 sockets. yes, again, but now we're getting lore.

it defines a communication channel for RTP data and/or RTCP streams. two jobs, one class, main character energy fr fr.

⚠️ important caveat bestie: sockets used to instantiate this template must define a framing mechanism. UDP does not need any addition, but TCP does. no cap.

this class implements a socket as a pair of UDP/IPv4 sockets, which is what lets it do both transmission and reception of packets β€” in unicast mode as well as multicast mode. the implementation relies on the Common C++ UDPSocket class, but it provides the interface needed by a ccRTP stack ✨

and normally? RTP stacks will use two objects of this class:

  1. one for RTP data packets transmission/reception πŸ“€πŸ“₯
  2. other for RTCP (control) transmission/reception πŸŽ›οΈ

two besties, two jobs. it's giving teamwork.

πŸ‘‘ Author

Federico Montesino Pouzols β€” fedemp@altern.org πŸ’œ


✍️ Author ✍️

Generated automatically by Doxygen for ccRTP from the source code. so like, technically the docs wrote themselves. iconic behavior honestly πŸ€–βœ¨


anyway that's the page bestie, go build something with two UDP/IPv4 sockets and a dream πŸ’–πŸŒˆ

πŸ“¦ where this page comes from