xgboost
公共成员函数 | 所有成员列表
xgboost::collective::SockAddress 类参考

TCP 套接字地址,可以是 IPv4 或 IPv6。更多...

#include <socket.h>

xgboost::collective::SockAddress 的协作图
Collaboration graph

公共成员函数

 SockAddress ()=default
 
 SockAddress (SockAddrV6 const &addr)
 
 SockAddress (SockAddrV4 const &addr)
 
auto Domain () const
 
bool IsV4 () const
 
bool IsV6 () const
 
auto const & V4 () const
 
auto const & V6 () const
 

详细描述

TCP 套接字的地址,可以是 IPv4 或 IPv6。

构造函数和析构函数文档

◆ SockAddress() [1/3]

xgboost::collective::SockAddress::SockAddress ( )
默认

◆ SockAddress() [2/3]

xgboost::collective::SockAddress::SockAddress ( SockAddrV6 const &  地址)
内联显式

◆ SockAddress() [3/3]

xgboost::collective::SockAddress::SockAddress ( SockAddrV4 const &  地址)
内联显式

成员函数文档

◆ Domain()

auto xgboost::collective::SockAddress::Domain ( ) const
inline

◆ IsV4()

bool xgboost::collective::SockAddress::IsV4 ( ) const
inline

◆ IsV6()

bool xgboost::collective::SockAddress::IsV6 ( ) const
inline

◆ V4()

auto const& xgboost::collective::SockAddress::V4 ( ) const
inline

◆ V6()

auto const& xgboost::collective::SockAddress::V6 ( ) const
inline

此类的文档由以下文件生成