Add Multicast Support
Goal: Support multicast addressing schemes.
Implementation
-
PrrtSocket_create()
gets additional IP parameter (Bind IP / Peer IP)- IP Parameter
- if
isSender
: Peer IP - if
!isSender
: Receiving IP (bind to & add IP multicast listening)
- if
- If
IP
in subnet 224.0.0.0/4 =>socket->multicast = true
- Data Socket: Bind to IP (and add IP multicast listening if receiver)
- Feedback Socket: Bind to IP & add IP multicast listening
- IP Parameter
-
Multiplex feedback of multiple receivers in feedbackReceiver
-
Default IP for PRRT: 224.0.0.11
Tutorials