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

TcpOptionswithBroadcast (bool enabled=true)
 Adds the SO_BROADCAST socket option.
 
TcpOptionswithDebug (bool enabled=true)
 Adds the SO_DEBUG socket option.
 
TcpOptionswithDoNotRoute (bool enabled=true)
 Adds the SO_DONTROUTE socket option.
 
TcpOptionswithKeepAlive (bool enabled=true)
 Adds the SO_KEEPALIVE socket option.
 
TcpOptionswithLinger (bool enabled, int timeout)
 Adds the SO_LINGER socket option.
 
TcpOptionswithOutOfBandInline (bool enabled)
 Adds the SO_OOBINLINE socket option.
 
TcpOptionswithReceiveBufferSize (int size)
 Adds the SO_RCVBUF socket option.
 
TcpOptionswithReceiveLowWatermark (int size)
 Adds the SO_RCVLOWAT socket option.
 
TcpOptionswithReuseAddress (bool enabled=true)
 Adds the SO_REUSEADDR socket option.
 
TcpOptionswithSendBufferSize (int size)
 Adds the SO_SNDBUF socket option.
 
TcpOptionswithSendLowWatermark (int size)
 Adds the SO_SNDLOWAT socket option.
 
TcpOptionswithUnicastHops (int hops)
 Adds the IP_UNICAST_TTL socket option.
 
TcpOptionswithIpV6Only (bool enabled=true)
 Adds the IP_V6ONLY socket option.
 
TcpOptionswithNoDelay (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: