Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Friends | List of all members
toolbox::net::TcpProtocol Struct Reference

#include <toolbox/net/Protocol.hpp>

Public Member Functions

constexpr int family () const noexcept
 
constexpr int type () const noexcept
 
constexpr int protocol () const noexcept
 

Static Public Member Functions

static constexpr auto v4 () noexcept
 
static constexpr auto v6 () noexcept
 

Friends

bool operator== (TcpProtocol lhs, TcpProtocol rhs)
 
bool operator!= (TcpProtocol lhs, TcpProtocol rhs)
 

Detailed Description

Definition at line 98 of file Protocol.hpp.

Member Function Documentation

◆ v4()

static constexpr auto toolbox::net::TcpProtocol::v4 ( )
inlinestaticconstexprnoexcept

Definition at line 102 of file Protocol.hpp.

◆ v6()

static constexpr auto toolbox::net::TcpProtocol::v6 ( )
inlinestaticconstexprnoexcept

Definition at line 103 of file Protocol.hpp.

◆ family()

constexpr int toolbox::net::TcpProtocol::family ( ) const
inlineconstexprnoexcept

Definition at line 105 of file Protocol.hpp.

◆ type()

constexpr int toolbox::net::TcpProtocol::type ( ) const
inlineconstexprnoexcept

Definition at line 106 of file Protocol.hpp.

◆ protocol()

constexpr int toolbox::net::TcpProtocol::protocol ( ) const
inlineconstexprnoexcept

Definition at line 107 of file Protocol.hpp.

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( TcpProtocol  lhs,
TcpProtocol  rhs 
)
friend

Definition at line 99 of file Protocol.hpp.

◆ operator!=

bool operator!= ( TcpProtocol  lhs,
TcpProtocol  rhs 
)
friend

Definition at line 100 of file Protocol.hpp.


The documentation for this struct was generated from the following file: