Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Networking Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWInet6Host

Module:  Essential Networking Module   Package:  Networking


Does not inherit

Local Index

Members

Non-Members

Header File

#include <rw/network/RWInet6Host.h>

Description

Encapsulates an Internet host IPv6 address and its names. You can construct an RWInet6Host from either an IPv6 address or a symbolic name.

Public Constructors

RWInet6Host(void);
RWInet6Host(struct in6_addr IPAddress);
RWInet6Host(const RWCString& hostname);
RWInet6Host(const char *);

Enumerations

enum 
NameLookup {numeric};

Public Operators

bool 
operator==(const RWInet6Host& rhs) const;
bool 
operator!=(const RWInet6Host& rhs) const;

Public Member Functions

struct in6_addr
getAddress() const;
RWTValVector<struct in6_addr>  
getAddresses() const;
RWTValVector<RWCString>        
getAliases() const;
RWCString                      
getName() const;
RWCString 
id(unsigned level=0) const;
void 
prepare() const;
void 
prepare (NameLookup lookup) const;

Static Member Functions

static RWCString  
addressAsString(struct in6_addr IPAddress);
static RWInet6Host 
me();

Global Operator

ostream&
operator<<(ostream& strm, const RWInet6Host& host);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.