UDP

1. UDP   udp

ID: a2f33ea0-51c3-45d8-8c19-03a95321384c
CREATED: <2025-01-17 Fri 23:14>

[2025-02-20 Thu 20:50] UDP Usage Guidelines [2025-03-03 Mon 15:47] >> IP

1.1. Multicast

ID: f7e112ca-25b4-41f1-a756-2492eda9dd90
CREATED: <2025-02-01 Sat 22:02>

[2025-02-01 Sat 22:11] RFC 5771 - IANA Guidelines for IPv4 Multicast Address Assignments [2025-02-01 Sat 22:11] RFC 7346 - IPv6 Multicast Address Scopes

1.1.1. Multicasting in Rust

ID: d3e91177-ad7f-4d8d-82d9-5ac09f786774
CREATED: <2025-02-01 Sat 22:03>

[2025-02-01 Sat 22:03] Multicasting in Rust [2025-02-01 Sat 22:06] <- Rust [2025-02-01 Sat 22:27] -> mDNS

unicast
single src to single dst (TCP and UDP)
broadcast
many src to many dst on a single network (UDP)
anycast
single src to one of many dst (TCP [kinda] and UDP)
multicast
many src to many dst (UDP and RTP*)

1.2. Protocols

ID: 7f5a6675-3e8a-414b-8788-c9957708bd79

1.2.1. QUIC   quic

ID: 031f06eb-b4a6-4386-a17f-33712bf67181
CREATED: <2025-01-17 Fri 23:14>

[2025-02-16 Sun 20:42] QUIC at 10,000 feet - Google Docs [2025-03-03 Mon 15:46] >> HTTPS

Transport-layer network protocol, part of the Chromium project.

  • Leverages the benefits of building on top of UDP instead of TCP
  • Designed as a re-implementation of TCP+TLS+HTTP/2
  • Great documentation (ty Mr. Google) + has Rust implementations (yay!) which leads us to:
  • Quinn
    • Rust implementation of the QUIC protocol.
    • Super awesome-cool
    • provides an API built with tokio
    • provides the core deterministic state machine of the protocol via quinn-proto
  • Playing With QUIC provides documentation on how to set up a test client/server from the chromium source, a bit verbose for our needs but relevant
  1. drafts
  2. Quinn   rust
    ID: f10769f7-cf9b-4bb5-ada9-d499af348f9d
    CREATED: <2025-01-17 Fri 23:14>
    

    GitHub - quinn-rs/quinn :END: Async-friendly QUIC implementation in Rust

1.2.2. OSC   osc

ID: 33ad3584-2728-4f90-8fae-397f026731f1
CREATED: <2025-01-18 Sat 20:43>

[2025-03-03 Mon 15:37] OSC index

1.2.3. WebRTC

ID: 989ae244-f798-425c-bcf1-32014eafbd22
CREATED: <2025-03-03 Mon 15:44>

[2025-03-03 Mon 15:44] Introduction to WebRTC protocols - Web APIs | MDN [2025-03-03 Mon 15:45] WebRTC-An Overview | by Venkatakrishnan | Medium [2025-03-03 Mon 15:46] -> WebSocket

1.2.4. Syslog   log

ID: 19c29790-17f3-40f2-aa2b-03bc7e0bad68
CREATED: <2025-03-04 Tue 17:24>

[2025-03-04 Tue 17:24] RFC 5426 - Transmission of Syslog Messages over UDP

1.2.5. RTP

ID: e7e88a43-5294-48fd-84dc-9f90a4ae193b
CREATED: <2025-02-01 Sat 22:10>

[2025-02-01 Sat 22:10] Real-time Transport Protocol - Wikipedia

Real-time Transport Protocol