#include <senf/Socket/Protocols/BSDSocketProtocol.hh>
Inherits
senf::SocketProtocol.
Inherited by
senf::ConnectedRawV4SocketProtocol,
senf::ConnectedRawV6SocketProtocol,
senf::ConnectedUDPv4SocketProtocol,
senf::ConnectedUDPv6SocketProtocol,
senf::ConnectedUNDatagramSocketProtocol,
senf::RawV4SocketProtocol,
senf::RawV6SocketProtocol,
senf::TCPv4SocketProtocol,
senf::TCPv6SocketProtocol,
senf::UDPv4SocketProtocol,
senf::UDPv6SocketProtocol,
senf::UNDatagramSocketProtocol.
AddressableBSDSocketProtocol provides the BSD socket API as it generically applies to addressable (connection oriented) sockets.
Definition at line 104 of file BSDSocketProtocol.hh.
Public Member Functions |
|
| bool | reuseaddr () const |
| Return current reuseaddr state. |
|
| void | reuseaddr (bool value) const |
| Set reuseraddr state. |
|
| void senf::AddressableBSDSocketProtocol:: | ||||
| reuseaddr | ( | bool | value | ) |
Set reuseraddr state.
A true value enables SO_REUSEADDR, false will disable it.
| [in] | value | new SO_REUSEADDR state |
Definition at line 137 of file BSDSocketProtocol.cc.
| bool senf::AddressableBSDSocketProtocol:: | ||||
| reuseaddr | () | |||
Return current reuseaddr state.
true if SO_REUSEADDR is currently enabled, false otherwiseDefinition at line 127 of file BSDSocketProtocol.cc.