MySQL 9.1.0
Source Code Documentation
net::ip::udp Class Reference

#include <internet.h>

Public Types

using endpoint = basic_endpoint< udp >
 
using resolver = basic_resolver< udp >
 
using socket = basic_datagram_socket< udp >
 

Public Member Functions

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

Static Public Member Functions

static constexpr udp v4 () noexcept
 
static constexpr udp v6 () noexcept
 

Private Member Functions

constexpr udp (int family)
 

Private Attributes

int family_
 

Member Typedef Documentation

◆ endpoint

◆ resolver

◆ socket

Constructor & Destructor Documentation

◆ udp()

constexpr net::ip::udp::udp ( int  family)
inlineexplicitconstexprprivate

Member Function Documentation

◆ family()

constexpr int net::ip::udp::family ( ) const
inlineconstexprnoexcept

◆ protocol()

constexpr int net::ip::udp::protocol ( ) const
inlineconstexprnoexcept

◆ type()

constexpr int net::ip::udp::type ( ) const
inlineconstexprnoexcept

◆ v4()

static constexpr udp net::ip::udp::v4 ( )
inlinestaticconstexprnoexcept

◆ v6()

static constexpr udp net::ip::udp::v6 ( )
inlinestaticconstexprnoexcept

Member Data Documentation

◆ family_

int net::ip::udp::family_
private

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