The AddressInfo class. More...
#include <AsyncFw/AddressInfo>
Public Types | |
| enum | Family : uint8_t { Unspec = AF_UNSPEC_ , Inet = AF_INET_ , Inet6 = AF_INET6_ } |
| using | Result = std::vector<std::string> |
Public Member Functions | |
| void | resolve (const std::string &, Family=Inet) |
| void | setTimeout (int) |
| AsyncFw::CoroutineAwait | coResolve (const std::string &, Family=Inet) |
| The AddressInfo::coResolve coroutine awaiter. | |
Public Attributes | |
| FunctionConnectorProtected< AddressInfo >::Connector< int, const std::vector< std::string > & > | completed |
| The AddressInfo::completed connector. | |
The AddressInfo class.
Examlpe with FunctionConnector:
Examlpe with CoroutineAwait: