12 #ifndef ROC_SDP_CONNECTION_DATA_H_
13 #define ROC_SDP_CONNECTION_DATA_H_
#define ROC_ATTR_NODISCARD
Emit warning if function result is not checked.
SDP connection data field.
ConnectionData()
Initialize empty connection data.
void clear()
Clear all fields.
const address::SocketAddr & connection_address() const
The SocketAddr of the ConnectionData.
ROC_ATTR_NODISCARD bool set_connection_address(address::AddrFamily addrtype, const char *str, size_t str_len)
Check and set connection address from a string.
AddrFamily
Address family.