Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::IPAddress Class Reference

#include <vcf/NetworkKit/IPAddress.h>

Inheritance diagram for VCF::IPAddress:

VCF::Object VCF::IPEndPoint List of all members.

Public Types

typedef std::vector< unsigned
char > 
RawBytes

Public Member Functions

 IPAddress ()
 IPAddress (const String &host)
 IPAddress (const RawBytes &ipAddr)
 IPAddress (unsigned char b1, unsigned char b2, unsigned char b3, unsigned char b4)
 IPAddress (unsigned char *bytes, size_t bytesLength)
 IPAddress (const IPAddress &ipAddress)
virtual ~IPAddress ()
RawBytes getAddressBytes () const
String getHostName () const
String getHostAddress () const

Static Public Member Functions

static std::vector< IPAddressgetDNSHostAddresses (const String &host)

Protected Attributes

IPAddressPeerpeer_

Member Typedef Documentation

typedef std::vector<unsigned char> VCF::IPAddress::RawBytes
 


Constructor & Destructor Documentation

VCF::IPAddress::IPAddress  ) 
 

VCF::IPAddress::IPAddress const String host  ) 
 

VCF::IPAddress::IPAddress const RawBytes ipAddr  ) 
 

VCF::IPAddress::IPAddress unsigned char  b1,
unsigned char  b2,
unsigned char  b3,
unsigned char  b4
 

VCF::IPAddress::IPAddress unsigned char *  bytes,
size_t  bytesLength
 

VCF::IPAddress::IPAddress const IPAddress ipAddress  ) 
 

virtual VCF::IPAddress::~IPAddress  )  [virtual]
 


Member Function Documentation

RawBytes VCF::IPAddress::getAddressBytes  )  const
 

static std::vector<IPAddress> VCF::IPAddress::getDNSHostAddresses const String host  )  [static]
 

String VCF::IPAddress::getHostAddress  )  const
 

String VCF::IPAddress::getHostName  )  const
 


Member Data Documentation

IPAddressPeer* VCF::IPAddress::peer_ [protected]
 


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information