Poco::Net::Impl

class IPv4SocketAddressImpl

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

IPv4SocketAddressImpl(
    const struct sockaddr_in * addr
);

IPv4SocketAddressImpl

IPv4SocketAddressImpl(
    const void * addr,
    UInt16 port
);

Member Functions

addr virtual inline

const struct sockaddr * addr() const;

af virtual inline

int af() const;

family virtual inline

Family family() const;

host virtual inline

IPAddress host() const;

length virtual inline

socklen_t length() const;

port virtual inline

UInt16 port() const;

toString virtual

std::string toString() const;