Examples of creating InetAddress instances.
#include <stdexcept>
#include <system_error>
#include <memory>
#include <vector>
#include <string>
using namespace std;
int main(int argc, char** argv) {
try {
} catch (std::system_error& e) {
}
std::vector<InetAddress::Ptr> google;
return 0;
}
std::shared_ptr< InetAddress > Ptr
static int create(SocketType socketType, const std::string &serviceName, const std::string &address, std::vector< InetAddress::Ptr > &created, unsigned int max=0)
Namespace of the BsdSockets library.