Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Poco::Net::Impl::IPv4SocketAddressImpl Class Reference

#include <SocketAddressImpl.h>

+ Inheritance diagram for Poco::Net::Impl::IPv4SocketAddressImpl:
+ Collaboration diagram for Poco::Net::Impl::IPv4SocketAddressImpl:

Public Member Functions

 IPv4SocketAddressImpl ()
 
 IPv4SocketAddressImpl (const struct sockaddr_in *addr)
 
 IPv4SocketAddressImpl (const void *addr, UInt16 port)
 
IPAddress host () const
 
UInt16 port () const
 
poco_socklen_t length () const
 
const struct sockaddr * addr () const
 
int af () const
 
Family family () const
 
std::string toString () const
 
- Public Member Functions inherited from Poco::Net::Impl::SocketAddressImpl
virtual ~SocketAddressImpl ()
 
- Public Member Functions inherited from Poco::RefCountedObject
 RefCountedObject ()
 
void duplicate () const
 
void release () const noexcept
 Increments the object's reference count.
 
int referenceCount () const
 

Private Attributes

struct sockaddr_in _addr
 

Additional Inherited Members

- Public Types inherited from Poco::Net::Impl::SocketAddressImpl
using Family = AddressFamily::Family
 
- Protected Member Functions inherited from Poco::Net::Impl::SocketAddressImpl
 SocketAddressImpl ()
 
- Protected Member Functions inherited from Poco::RefCountedObject
virtual ~RefCountedObject ()
 Returns the reference count.
 

Detailed Description

Definition at line 56 of file SocketAddressImpl.h.

Constructor & Destructor Documentation

◆ IPv4SocketAddressImpl() [1/3]

Poco::Net::Impl::IPv4SocketAddressImpl::IPv4SocketAddressImpl ( )

◆ IPv4SocketAddressImpl() [2/3]

Poco::Net::Impl::IPv4SocketAddressImpl::IPv4SocketAddressImpl ( const struct sockaddr_in * addr)
+ Here is the caller graph for this function:

◆ IPv4SocketAddressImpl() [3/3]

Poco::Net::Impl::IPv4SocketAddressImpl::IPv4SocketAddressImpl ( const void * addr,
UInt16 port )
+ Here is the caller graph for this function:

Member Function Documentation

◆ addr()

const struct sockaddr * Poco::Net::Impl::IPv4SocketAddressImpl::addr ( ) const
inlinevirtual

Implements Poco::Net::Impl::SocketAddressImpl.

Definition at line 97 of file SocketAddressImpl.h.

◆ af()

int Poco::Net::Impl::IPv4SocketAddressImpl::af ( ) const
inlinevirtual

Implements Poco::Net::Impl::SocketAddressImpl.

Definition at line 103 of file SocketAddressImpl.h.

◆ family()

SocketAddressImpl::Family Poco::Net::Impl::IPv4SocketAddressImpl::family ( ) const
inlinevirtual

Implements Poco::Net::Impl::SocketAddressImpl.

Definition at line 109 of file SocketAddressImpl.h.

◆ host()

IPAddress Poco::Net::Impl::IPv4SocketAddressImpl::host ( ) const
inlinevirtual

Implements Poco::Net::Impl::SocketAddressImpl.

Definition at line 79 of file SocketAddressImpl.h.

+ Here is the call graph for this function:

◆ length()

poco_socklen_t Poco::Net::Impl::IPv4SocketAddressImpl::length ( ) const
inlinevirtual

Implements Poco::Net::Impl::SocketAddressImpl.

Definition at line 91 of file SocketAddressImpl.h.

◆ port()

UInt16 Poco::Net::Impl::IPv4SocketAddressImpl::port ( ) const
inlinevirtual

Implements Poco::Net::Impl::SocketAddressImpl.

Definition at line 85 of file SocketAddressImpl.h.

◆ toString()

std::string Poco::Net::Impl::IPv4SocketAddressImpl::toString ( ) const
virtual

Member Data Documentation

◆ _addr

struct sockaddr_in Poco::Net::Impl::IPv4SocketAddressImpl::_addr
private

Definition at line 71 of file SocketAddressImpl.h.


The documentation for this class was generated from the following file: