Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
UDP receiver parameters. More...
#include <udp_receiver_port.h>
Public Attributes | |
address::SocketAddr | bind_address |
Receiver will bind to this address. If IP is zero, INADDR_ANY is used, i.e. the socket is bound to all network interfaces. If port is zero, a random free port is selected. More... | |
char | multicast_interface [64] |
If not empty, receiver will join multicast group on the interface with given address. May be "0.0.0.0" or "[::]" to join on all interfaces. More... | |
bool | reuseaddr |
If set, enable SO_REUSEADDR when binding socket to non-ephemeral port. If not set, SO_REUSEADDR is enabled only for multicast sockets when binding to non-ephemeral port. More... | |
UDP receiver parameters.
Definition at line 31 of file udp_receiver_port.h.
address::SocketAddr roc::netio::UdpReceiverConfig::bind_address |
Receiver will bind to this address. If IP is zero, INADDR_ANY is used, i.e. the socket is bound to all network interfaces. If port is zero, a random free port is selected.
Definition at line 35 of file udp_receiver_port.h.
char roc::netio::UdpReceiverConfig::multicast_interface[64] |
If not empty, receiver will join multicast group on the interface with given address. May be "0.0.0.0" or "[::]" to join on all interfaces.
Definition at line 39 of file udp_receiver_port.h.
bool roc::netio::UdpReceiverConfig::reuseaddr |
If set, enable SO_REUSEADDR when binding socket to non-ephemeral port. If not set, SO_REUSEADDR is enabled only for multicast sockets when binding to non-ephemeral port.
Definition at line 44 of file udp_receiver_port.h.