|
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. | |
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. | |
| 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. | |
UDP sender parameters.
Definition at line 30 of file udp_sender_port.h.
|
inline |
Definition at line 41 of file udp_sender_port.h.
|
inline |
Check two configs for equality.
Definition at line 46 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 39 of file udp_sender_port.h.