CppWAMP
C++11 client library for the WAMP protocol
wamp::TcpOptions Class Reference

Contains options for the TCP transport. More...

#include <cppwamp/tcphost.hpp>

Public Member Functions

TcpOptions & withBroadcast (bool enabled=true)
 Adds the SO_BROADCAST socket option.
 
TcpOptions & withDebug (bool enabled=true)
 Adds the SO_DEBUG socket option.
 
TcpOptions & withDoNotRoute (bool enabled=true)
 Adds the SO_DONTROUTE socket option.
 
TcpOptions & withKeepAlive (bool enabled=true)
 Adds the SO_KEEPALIVE socket option.
 
TcpOptions & withLinger (bool enabled, int timeout)
 Adds the SO_LINGER socket option.
 
TcpOptions & withOutOfBandInline (bool enabled)
 Adds the SO_OOBINLINE socket option.
 
TcpOptions & withReceiveBufferSize (int size)
 Adds the SO_RCVBUF socket option.
 
TcpOptions & withReceiveLowWatermark (int size)
 Adds the SO_RCVLOWAT socket option.
 
TcpOptions & withReuseAddress (bool enabled=true)
 Adds the SO_REUSEADDR socket option.
 
TcpOptions & withSendBufferSize (int size)
 Adds the SO_SNDBUF socket option.
 
TcpOptions & withSendLowWatermark (int size)
 Adds the SO_SNDLOWAT socket option.
 
TcpOptions & withUnicastHops (int hops)
 Adds the IP_UNICAST_TTL socket option.
 
TcpOptions & withIpV6Only (bool enabled=true)
 Adds the IP_V6ONLY socket option.
 
TcpOptions & withNoDelay (bool enabled=true)
 Adds the TCP_NODELAY socket option. More...
 

Detailed Description

Member Function Documentation

◆ withNoDelay()

TcpOptions & wamp::TcpOptions::withNoDelay ( bool  enabled = true)

Adds the TCP_NODELAY socket option.

This option is for disabling the Nagle algorithm.


The documentation for this class was generated from the following files: