Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XFcInetHostResolver Class Reference

Handles inet host resolution. More...

Inheritance diagram for XFcInetHostResolver:

Inheritance graph
[legend]
Collaboration diagram for XFcInetHostResolver:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual XFCIMPORT ~XFcInetHostResolver ()
 Virtual destructor.

XFCIMPORT INT getHostByString (const CHAR8 *aString, XFcInetAddress &aAddress)
 Gets host by name or with ip.


Static Public Member Functions

XFCIMPORT XFcInetHostResolver * create ()
 Static constructor.


Protected Member Functions

 XFcInetHostResolver ()
 Protected constructor.

INT init (INT aType)
 Initializes inet host resolver.


Detailed Description

Handles inet host resolution.


Constructor & Destructor Documentation

XFcInetHostResolver::XFcInetHostResolver   [protected]
 

Protected constructor.

virtual XFCIMPORT XFcInetHostResolver::~XFcInetHostResolver   [virtual]
 

Virtual destructor.


Member Function Documentation

XFCIMPORT XFcInetHostResolver* XFcInetHostResolver::create   [static]
 

Static constructor.

XFCIMPORT INT XFcInetHostResolver::getHostByString const CHAR8   aString,
XFcInetAddress   aAddress
 

Gets host by name or with ip.

Parameters:
aString host name string or ip string, e.g. "127.0.0.1" or "www.fathammer.com".
aAddress address where resolved information is written.
Returns:
1 if query was successful, or 0 otherwise.

INT XFcInetHostResolver::init INT    aType [protected]
 

Initializes inet host resolver.

Parameters:
aType host resolver type, see XFCHOSTRESOLVER.
Returns:
1 if initialization was successful, or 0 otherwise.

   
X-Forge Documentation
Confidential
Copyright © 2002-2003 Fathammer
   
Documentation generated
with doxygen
by Dimitri van Heesch