UT_InetAddress Class Reference
#include <UT_IPC.h>
List of all members.
|
Public Types |
| enum | UT_Status { UT_NoHostGiven,
UT_UnknownHost,
UT_UnKnownService,
UT_HostFound
} |
Public Member Functions |
| | UT_InetAddress () |
| | UT_InetAddress (int port) |
| | UT_InetAddress (const char *service, const char *protocol) |
| | UT_InetAddress (const char *hostname, int port) |
| | UT_InetAddress (const char *hostname, const char *service, const char *proto) |
| const char * | hostname () const |
| const char * | numeric_hostname () const |
| int | port () const |
| int | ok () const |
| UT_Status | status () const |
| int | size () const |
| int | isany () const |
| int | isbroadcast () const |
| | operator SOCKADDR_PTR () |
| | operator CONST_SOCKADDR_PTR () const |
Static Public Attributes |
| static const char * | UT_Any |
| static const char * | UT_Broadcast |
Protected Member Functions |
| int | lookup (const char *hostname, int port) |
| int | lookup (const char *hostname, const char *service, const char *proto) |
| int | lookup (int aport) |
| int | lookup (const char *service, const char *protocol) |
Protected Attributes |
| struct sockaddr_in | address |
| int | addrlen |
| UT_Status | state |
| int | any_flag |
| int | broadcast_flag |
Friends |
| class | UT_InetSocket |
| ostream & | operator<< (ostream &os, const UT_InetAddress &ia) |
Detailed Description
Definition at line 47 of file UT_IPC.h.
Member Enumeration Documentation
- Enumerator:
-
| UT_NoHostGiven |
|
| UT_UnknownHost |
|
| UT_UnKnownService |
|
| UT_HostFound |
|
Definition at line 55 of file UT_IPC.h.
Constructor & Destructor Documentation
| UT_InetAddress::UT_InetAddress |
( |
|
) |
|
| UT_InetAddress::UT_InetAddress |
( |
int |
port |
) |
[explicit] |
| UT_InetAddress::UT_InetAddress |
( |
const char * |
service, |
|
|
const char * |
protocol | |
|
) |
| | |
| UT_InetAddress::UT_InetAddress |
( |
const char * |
hostname, |
|
|
int |
port | |
|
) |
| | |
| UT_InetAddress::UT_InetAddress |
( |
const char * |
hostname, |
|
|
const char * |
service, |
|
|
const char * |
proto | |
|
) |
| | |
Member Function Documentation
| const char* UT_InetAddress::hostname |
( |
|
) |
const |
| int UT_InetAddress::isany |
( |
|
) |
const [inline] |
| int UT_InetAddress::isbroadcast |
( |
|
) |
const [inline] |
| int UT_InetAddress::lookup |
( |
const char * |
service, |
|
|
const char * |
protocol | |
|
) |
| | [inline, protected] |
| int UT_InetAddress::lookup |
( |
int |
aport |
) |
[inline, protected] |
| int UT_InetAddress::lookup |
( |
const char * |
hostname, |
|
|
const char * |
service, |
|
|
const char * |
proto | |
|
) |
| | [protected] |
| int UT_InetAddress::lookup |
( |
const char * |
hostname, |
|
|
int |
port | |
|
) |
| | [protected] |
| const char* UT_InetAddress::numeric_hostname |
( |
|
) |
const |
| int UT_InetAddress::ok |
( |
|
) |
const [inline] |
| int UT_InetAddress::port |
( |
|
) |
const |
| int UT_InetAddress::size |
( |
|
) |
const [inline] |
| UT_Status UT_InetAddress::status |
( |
|
) |
const [inline] |
Friends And Related Function Documentation
| ostream& operator<< |
( |
ostream & |
os, |
|
|
const UT_InetAddress & |
ia | |
|
) |
| | [friend] |
Member Data Documentation
The documentation for this class was generated from the following file: