# Poco::Net::Impl

# class IPv4AddressImpl

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

## Inheritance

Direct Base Classes: IPAddressImpl

All Base Classes: IPAddressImpl, Poco::RefCountedObject

## Member Summary

Member Functions: addr, af, clone, family, isBroadcast, isGlobalMC, isIPv4Compatible, isIPv4Mapped, isLinkLocal, isLinkLocalMC, isLoopback, isMulticast, isNodeLocalMC, isOrgLocalMC, isSiteLocal, isSiteLocalMC, isWellKnownMC, isWildcard, length, mask, operator !=, operator &, operator =, operator ==, operator ^, operator |, operator ~, parse, prefixLength, scope, toString

Inherited Functions: addr, af, clone, duplicate, family, isBroadcast, isGlobalMC, isIPv4Compatible, isIPv4Mapped, isLinkLocal, isLinkLocalMC, isLoopback, isMulticast, isNodeLocalMC, isOrgLocalMC, isSiteLocal, isSiteLocalMC, isWellKnownMC, isWildcard, length, mask, prefixLength, referenceCount, release, scope, toString

## Constructors

### IPv4AddressImpl

IPv4AddressImpl();

### IPv4AddressImpl

IPv4AddressImpl(
const void * addr
);

### IPv4AddressImpl

IPv4AddressImpl(
unsigned prefix
);

### IPv4AddressImpl

IPv4AddressImpl(
const IPv4AddressImpl & addr
);

## Member Functions

### addr

const void * addr() const;

See also: Poco::Net::Impl::IPAddressImpl::addr()

### af

int af() const;

See also: Poco::Net::Impl::IPAddressImpl::af()

### clone

IPAddressImpl * clone() const;

See also: Poco::Net::Impl::IPAddressImpl::clone()

### family

Family family() const;

See also: Poco::Net::Impl::IPAddressImpl::family()

### isBroadcast

bool isBroadcast() const;

See also: Poco::Net::Impl::IPAddressImpl::isBroadcast()

### isGlobalMC

bool isGlobalMC() const;

See also: Poco::Net::Impl::IPAddressImpl::isGlobalMC()

### isIPv4Compatible

bool isIPv4Compatible() const;

See also: Poco::Net::Impl::IPAddressImpl::isIPv4Compatible()

### isIPv4Mapped

bool isIPv4Mapped() const;

See also: Poco::Net::Impl::IPAddressImpl::isIPv4Mapped()

### isLinkLocal

bool isLinkLocal() const;

See also: Poco::Net::Impl::IPAddressImpl::isLinkLocal()

### isLinkLocalMC

bool isLinkLocalMC() const;

See also: Poco::Net::Impl::IPAddressImpl::isLinkLocalMC()

### isLoopback

bool isLoopback() const;

See also: Poco::Net::Impl::IPAddressImpl::isLoopback()

### isMulticast

bool isMulticast() const;

See also: Poco::Net::Impl::IPAddressImpl::isMulticast()

### isNodeLocalMC

bool isNodeLocalMC() const;

See also: Poco::Net::Impl::IPAddressImpl::isNodeLocalMC()

### isOrgLocalMC

bool isOrgLocalMC() const;

See also: Poco::Net::Impl::IPAddressImpl::isOrgLocalMC()

### isSiteLocal

bool isSiteLocal() const;

See also: Poco::Net::Impl::IPAddressImpl::isSiteLocal()

### isSiteLocalMC

bool isSiteLocalMC() const;

See also: Poco::Net::Impl::IPAddressImpl::isSiteLocalMC()

### isWellKnownMC

bool isWellKnownMC() const;

See also: Poco::Net::Impl::IPAddressImpl::isWellKnownMC()

### isWildcard

bool isWildcard() const;

See also: Poco::Net::Impl::IPAddressImpl::isWildcard()

### length

socklen_t length() const;

See also: Poco::Net::Impl::IPAddressImpl::length()

### mask

void mask(
const IPAddressImpl * pMask,
const IPAddressImpl * pSet
);

See also: Poco::Net::Impl::IPAddressImpl::mask()

### operator !=

bool operator != (
const IPv4AddressImpl & addr
) const;

### operator &

IPv4AddressImpl operator & (
const IPv4AddressImpl & addr
) const;

### operator =

IPv4AddressImpl & operator = (
const IPv4AddressImpl & param355
);

### operator ==

bool operator == (
const IPv4AddressImpl & addr
) const;

### operator ^

IPv4AddressImpl operator ^ (
const IPv4AddressImpl & addr
) const;

### operator |

IPv4AddressImpl operator | (
const IPv4AddressImpl & addr
) const;

### operator ~

IPv4AddressImpl operator ~ () const;

### parse

static IPv4AddressImpl parse(
const std::string & addr
);

### prefixLength

unsigned prefixLength() const;

See also: Poco::Net::Impl::IPAddressImpl::prefixLength()

### scope

Poco::UInt32 scope() const;

See also: Poco::Net::Impl::IPAddressImpl::scope()

### toString

std::string toString() const;

See also: Poco::Net::Impl::IPAddressImpl::toString()