xentara-utils v2.0.4
The Xentara Utility Library
Loading...
Searching...
No Matches
xentara::utils::network::Backlog Class Reference

Marker for listening backlog. More...

#include <xentara/utils/network/Options.hpp>

Public Member Functions

constexpr Backlog (int backlog)
 Conversion constructor from an integer.
 
constexpr operator int () const
 Conversion back to an int.
 

Detailed Description

Marker for listening backlog.

This marker is used to specify a custom the backlog when putting a socket into the listening state.

Just cast the backlog value to Backlog:

Marker for listening backlog.
Definition Options.hpp:159

Constructor & Destructor Documentation

◆ Backlog()

constexpr xentara::utils::network::Backlog::Backlog ( int  backlog)
explicitconstexpr

Conversion constructor from an integer.

Member Function Documentation

◆ operator int()

constexpr xentara::utils::network::Backlog::operator int ( ) const
explicitconstexpr

Conversion back to an int.