Address for TCP socket, can be either IPv4 or IPv6.
More...
#include <socket.h>
Address for TCP socket, can be either IPv4 or IPv6.
◆ SockAddress() [1/3]
xgboost::collective::SockAddress::SockAddress |
( |
| ) |
|
|
default |
◆ SockAddress() [2/3]
xgboost::collective::SockAddress::SockAddress |
( |
SockAddrV6 const & |
addr | ) |
|
|
inlineexplicit |
◆ SockAddress() [3/3]
xgboost::collective::SockAddress::SockAddress |
( |
SockAddrV4 const & |
addr | ) |
|
|
inlineexplicit |
◆ 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 |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/xgboost/checkouts/stable/include/xgboost/collective/socket.h