LIBWIRE
Next-generation C++17 networking library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Namespaces | Variables
options.hpp File Reference

This file defines set of options applicable for use with TCP sockets using socket.set_option and socket.option. More...

#include <chrono>
#include <tuple>

Go to the source code of this file.

Classes

struct  libwire::tcp::options::keep_alive_t
 Dummy type for keep_alive option. More...
 
struct  libwire::tcp::options::linger_t
 Dummy type for linger option. More...
 
struct  libwire::tcp::options::no_delay_t
 Dummy type for no_delay option. More...
 
struct  libwire::tcp::options::timeout_t
 Dummy type for timeout option. More...
 

Namespaces

 libwire::tcp
 Namespace with classes which expose access to system TCP implementation.
 
 libwire::tcp::options
 Inline namespace with options applicable for TCP sockets.
 

Variables

constexpr keep_alive_t libwire::tcp::options::keep_alive {}
 Enable keep-alive probes on TCP socket. More...
 
constexpr linger_t libwire::tcp::options::linger {}
 Enable linger on socket.close on TCP socket. More...
 
constexpr no_delay_t libwire::tcp::options::no_delay {}
 Disable the Nagle algorithm on TCP socket. More...
 
constexpr timeout_t libwire::tcp::options::timeout {}
 Set transmission timeout for TCP socket. More...
 

Detailed Description

This file defines set of options applicable for use with TCP sockets using socket.set_option and socket.option.

Definition in file options.hpp.