Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::netio::UdpSenderConfig Struct Reference

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.
 

Detailed Description

UDP sender parameters.

Definition at line 30 of file udp_sender_port.h.

Constructor & Destructor Documentation

◆ UdpSenderConfig()

roc::netio::UdpSenderConfig::UdpSenderConfig ( )
inline

Definition at line 41 of file udp_sender_port.h.

Member Function Documentation

◆ operator==()

bool roc::netio::UdpSenderConfig::operator== ( const UdpSenderConfig other) const
inline

Check two configs for equality.

Definition at line 46 of file udp_sender_port.h.

Member Data Documentation

◆ bind_address

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.

◆ non_blocking_enabled

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.


The documentation for this struct was generated from the following file: