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

unix datagram protocol class. More...

#include <protocol.hpp>

Public Types

using Endpoint = BasicUnixEndpoint <UnixDgram>
 
using Socket = BasicDatagramSocket <UnixDgram>
 

Public Member Functions

constexpr UnixDgram () noexcept=default
 construct the unix datagram 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 datagram protocol class.

Member Typedef Documentation

◆ Endpoint

◆ Socket

Constructor & Destructor Documentation

◆ UnixDgram()

join::UnixDgram::UnixDgram ( )
constexprdefaultnoexcept

construct the unix datagram protocol instance by default.

Member Function Documentation

◆ family()

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

get the protocol ip address family.

Returns
the protocol ip address family.

◆ protocol()

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

get the protocol type.

Returns
the protocol type.

◆ type()

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

get the protocol communication semantic.

Returns
the protocol communication semantic.

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