SNode.C
|
#include <SocketAddrInfo.h>
Public Member Functions | |
SocketAddrInfo ()=default | |
~SocketAddrInfo () | |
int | resolve (const std::string &node, const std::string &service, const addrinfo &hints) |
bool | useNext () |
sockaddr_in | getSockAddr () |
std::string | getCanonName () |
void | logAddressInfo () |
Private Attributes | |
struct addrinfo * | addrInfo = nullptr |
struct addrinfo * | currentAddrInfo = nullptr |
Definition at line 57 of file SocketAddrInfo.h.
|
default |
net::in::SocketAddrInfo::~SocketAddrInfo | ( | ) |
std::string net::in::SocketAddrInfo::getCanonName | ( | ) |
Definition at line 97 of file SocketAddrInfo.cpp.
References currentAddrInfo.
Referenced by net::in::SocketAddress::init().
sockaddr_in net::in::SocketAddrInfo::getSockAddr | ( | ) |
Definition at line 92 of file SocketAddrInfo.cpp.
References currentAddrInfo.
Referenced by net::in::SocketAddress::init(), and net::in::SocketAddress::useNext().
void net::in::SocketAddrInfo::logAddressInfo | ( | ) |
Definition at line 101 of file SocketAddrInfo.cpp.
References currentAddrInfo.
int net::in::SocketAddrInfo::resolve | ( | const std::string & | node, |
const std::string & | service, | ||
const addrinfo & | hints | ||
) |
Definition at line 61 of file SocketAddrInfo.cpp.
References addrInfo, currentAddrInfo, and core::system::getaddrinfo().
bool net::in::SocketAddrInfo::useNext | ( | ) |
Definition at line 76 of file SocketAddrInfo.cpp.
References currentAddrInfo.
Referenced by net::in::SocketAddress::useNext().
|
private |
Definition at line 72 of file SocketAddrInfo.h.
Referenced by resolve(), and ~SocketAddrInfo().
|
private |
Definition at line 73 of file SocketAddrInfo.h.
Referenced by getCanonName(), getSockAddr(), logAddressInfo(), resolve(), and useNext().