15 #ifndef INET_ADDRESS_H
26 class LowLevelAddress;
27 class InetAddressPimpl;
43 typedef std::shared_ptr<InetAddress>
Ptr;
61 static int create(
SocketType socketType,
const std::string& serviceName,
const std::string& address,
62 std::vector<InetAddress::Ptr>& created,
unsigned int max = 0);
94 const std::string& theServiceName,
const std::string& theRequestedAddress,
95 std::shared_ptr<InetAddressPimpl> pimpl);
118 const unsigned int getPort()
const;
127 const std::string serviceName;
130 const std::string requestedAddress;
133 std::shared_ptr<InetAddressPimpl>
const pimpl;
Base class for all addresses.
std::shared_ptr< Address > Ptr
Internet Address Class supporting IPv4 and IPv6 and creatable from hostnames and service names.
const unsigned int getPort() const
const std::string & getActualAddress() const
const std::string & getServiceName() const
const std::string & getRequestedAddress() const
std::shared_ptr< InetAddress > Ptr
virtual std::shared_ptr< LowLevelAddress > makeTempLowLevelAddress() const
static int create(SocketType socketType, const std::string &serviceName, const std::string &address, std::vector< InetAddress::Ptr > &created, unsigned int max=0)
virtual LowLevelAddress & getLowLevelAddress() const
Interface for the low-level address implementation.
Namespace of the BsdSockets library.