|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
THostEntry encapsulates the attributes of a host (hostent). More...
#include <owl/wskhostm.h>
Public Member Functions | |
| THostEntry () | |
| Constructor of THostEntry object. Initializes members describing host to 0. | |
| int | GetAddressCount () |
| Returns the number of pointers to addresses in the hostent (parent class of THostEntry). | |
| ulong | GetINetAddress () |
| Returns the Internet address of the host. | |
| ulong | GetNthINetAddress (int nIndex=0) |
| An internet addressing -specific function. | |
THostEntry encapsulates the attributes of a host (hostent).
Definition at line 67 of file wskhostm.h.
| owl::THostEntry::THostEntry | ( | ) |
Constructor of THostEntry object. Initializes members describing host to 0.
Definition at line 50 of file wskhostm.cpp.
| int owl::THostEntry::GetAddressCount | ( | ) |
Returns the number of pointers to addresses in the hostent (parent class of THostEntry).
Definition at line 63 of file wskhostm.cpp.
|
inline |
Returns the Internet address of the host.
Definition at line 139 of file wskhostm.h.
References GetNthINetAddress().
An internet addressing -specific function.
This function returns the indexed internet address in unsigned long form.
The index must be between 0 and the number of address counts (see GetAddressCount()).
Definition at line 84 of file wskhostm.cpp.
References GetAddressCount().