Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
socket_options.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021 Roc Streaming authors
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
8
9
//! @file roc_netio/target_libuv/roc_netio/socket_options.h
10
//! @brief Socket options.
11
12
#ifndef ROC_NETIO_SOCKET_OPTIONS_H_
13
#define ROC_NETIO_SOCKET_OPTIONS_H_
14
15
namespace
roc
{
16
namespace
netio {
17
18
//! Socket options.
19
struct
SocketOptions
{
20
//! Disable Nagle's algorithm.
21
bool
disable_nagle
;
22
23
SocketOptions
()
24
:
disable_nagle
(true) {
25
}
26
};
27
28
}
// namespace netio
29
}
// namespace roc
30
31
#endif
// ROC_NETIO_SOCKET_OPTIONS_H_
roc
Root namespace.
roc::netio::SocketOptions
Socket options.
Definition:
socket_options.h:19
roc::netio::SocketOptions::disable_nagle
bool disable_nagle
Disable Nagle's algorithm.
Definition:
socket_options.h:21
roc_netio
target_libuv
roc_netio
socket_options.h
Generated by
1.9.1