join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::UnixStream Class Reference

unix stream protocol class. More...

#include <protocol.hpp>

Public Types

using Endpoint = BasicUnixEndpoint <UnixStream>
 
using Socket = BasicStreamSocket <UnixStream>
 
using Stream = BasicSocketStream <UnixStream>
 
using Acceptor = BasicStreamAcceptor <UnixStream>
 

Public Member Functions

constexpr UnixStream () noexcept=default
 construct the unix stream protocol instance by default.
 
constexpr int family () const noexcept
 get the protocol ip address family.
 
constexpr int type () const noexcept
 get the protocol communication semantic.
 
constexpr int protocol () const noexcept
 get the protocol type.
 

Detailed Description

unix stream protocol class.

Member Typedef Documentation

◆ Acceptor

◆ Endpoint

◆ Socket

◆ Stream

Constructor & Destructor Documentation

◆ UnixStream()

join::UnixStream::UnixStream ( )
constexprdefaultnoexcept

construct the unix stream protocol instance by default.

Member Function Documentation

◆ family()

int join::UnixStream::family ( ) const
inlineconstexprnoexcept

get the protocol ip address family.

Returns
the protocol ip address family.

◆ protocol()

int join::UnixStream::protocol ( ) const
inlineconstexprnoexcept

get the protocol type.

Returns
the protocol type.

◆ type()

int join::UnixStream::type ( ) const
inlineconstexprnoexcept

get the protocol communication semantic.

Returns
the protocol communication semantic.

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