Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
UDP sender parameters. More...
#include <udp_sender_port.h>
Public Member Functions | |
bool | operator== (const UdpSenderConfig &other) const |
Check two configs for equality. More... | |
Public Attributes | |
address::SocketAddr | bind_address |
Sender 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... | |
bool | reuseaddr |
If set, enable SO_REUSEADDR when binding socket to non-ephemeral port. If not set, SO_REUSEADDR is not enabled. More... | |
bool | non_blocking_enabled |
If true, allow non-blocking writes directly in write() method. If non-blocking write can't be performed, sender falls back to regular asynchronous write. More... | |
UDP sender parameters.
Definition at line 30 of file udp_sender_port.h.
|
inline |
Check two configs for equality.
Definition at line 51 of file udp_sender_port.h.
address::SocketAddr roc::netio::UdpSenderConfig::bind_address |
Sender 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 34 of file udp_sender_port.h.
bool roc::netio::UdpSenderConfig::non_blocking_enabled |
If true, allow non-blocking writes directly in write() method. If non-blocking write can't be performed, sender falls back to regular asynchronous write.
Definition at line 43 of file udp_sender_port.h.
bool roc::netio::UdpSenderConfig::reuseaddr |
If set, enable SO_REUSEADDR when binding socket to non-ephemeral port. If not set, SO_REUSEADDR is not enabled.
Definition at line 38 of file udp_sender_port.h.