senf::AddressableBSDSocketProtocol Class Reference
[Protocol Facets]

Protocol facet providing basic connection oriented BSD socket functions. More...

#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.

List of all members.


Detailed Description

Protocol facet providing basic connection oriented BSD socket functions.

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.

Member Function Documentation

void senf::AddressableBSDSocketProtocol::
reuseaddr ( bool  value )

Set reuseraddr state.

A true value enables SO_REUSEADDR, false will disable it.

Parameters:
[in]  value  new SO_REUSEADDR state

Definition at line 137 of file BSDSocketProtocol.cc.

bool senf::AddressableBSDSocketProtocol::
reuseaddr ()

Return current reuseaddr state.

Returns:
true if SO_REUSEADDR is currently enabled, false otherwise

Definition at line 127 of file BSDSocketProtocol.cc.


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