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

Contains options for the UNIX domain socket transport. More...

#include <cppwamp/udspath.hpp>

Public Member Functions

UdsOptionswithBroadcast (bool enabled=true)
 Adds the SO_BROADCAST socket option.
 
UdsOptionswithDebug (bool enabled=true)
 Adds the SO_DEBUG socket option.
 
UdsOptionswithDoNotRoute (bool enabled=true)
 Adds the SO_DONTROUTE socket option.
 
UdsOptionswithKeepAlive (bool enabled=true)
 Adds the SO_KEEPALIVE socket option.
 
UdsOptionswithLinger (bool enabled, int timeout)
 Adds the SO_LINGER socket option.
 
UdsOptionswithOutOfBandInline (bool enabled)
 Adds the SO_OOBINLINE socket option.
 
UdsOptionswithReceiveBufferSize (int size)
 Adds the SO_RCVBUF socket option.
 
UdsOptionswithReceiveLowWatermark (int size)
 Adds the SO_RCVLOWAT socket option.
 
UdsOptionswithReuseAddress (bool enabled=true)
 Adds the SO_REUSEADDR socket option.
 
UdsOptionswithSendBufferSize (int size)
 Adds the SO_SNDBUF socket option.
 
UdsOptionswithSendLowWatermark (int size)
 Adds the SO_SNDLOWAT socket option.
 

Detailed Description

Contains options for the UNIX domain socket transport.

Note
Support for these options depends on the the operating system. Some may not even make sense for a UNIX domain socket. This library aims not to be opinionated about which socket options are irrelevant so they are all made available.
See also
https://man7.org/linux/man-pages/man7/socket.7.html
https://docs.microsoft.com/en-us/windows/win32/api/winsock/nf-winsock-setsockopt
https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/setsockopt.2.html

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