Poco::Net::Impl

class SocketAddressImpl

File Information

Library: Net
Package: NetCore
Header: Poco/Net/SocketAddressImpl.h

Inheritance

Direct Base Classes: Poco::RefCountedObject

All Base Classes: Poco::RefCountedObject

Known Derived Classes: IPv4SocketAddressImpl, IPv6SocketAddressImpl, LocalSocketAddressImpl

Member Summary

Member Functions: addr, af, family, host, length, port, toString

Inherited Functions: duplicate, referenceCount, release

Types Aliases

Family

using Family = AddressFamily::Family;

Constructors

SocketAddressImpl protected

SocketAddressImpl();

Destructor

~SocketAddressImpl virtual

virtual ~SocketAddressImpl();

Member Functions

addr virtual

virtual const struct sockaddr * addr() const = 0;

af virtual

virtual int af() const = 0;

family virtual

virtual Family family() const = 0;

host virtual

virtual IPAddress host() const = 0;

length virtual

virtual socklen_t length() const = 0;

port virtual

virtual UInt16 port() const = 0;

toString virtual

virtual std::string toString() const = 0;