Library: Net
Package: NetCore
Header: Poco/Net/SocketAddressImpl.h
Inheritance
Direct Base Classes: SocketAddressImpl
All Base Classes: SocketAddressImpl, Poco::RefCountedObject
Member Summary
Member Functions: addr, af, family, host, length, port, toString
Inherited Functions: addr, af, duplicate, family, host, length, port, referenceCount, release, toString
Constructors
IPv4SocketAddressImpl
IPv4SocketAddressImpl
IPv4SocketAddressImpl(
const struct sockaddr_in * addr
);
IPv4SocketAddressImpl
IPv4SocketAddressImpl(
const void * addr,
UInt16 port
);
Member Functions
addr
const struct sockaddr * addr() const;
af
int af() const;
See also: Poco::Net::Impl::SocketAddressImpl::af()
family
Family family() const;
host
IPAddress host() const;
length
socklen_t length() const;
port
UInt16 port() const;
toString
std::string toString() const;