Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::NetDb Class Reference
[Networking library]

NetDb resolver class. More...

#include <pnetdb.h>

List of all members.

Static Public Member Functions

HostEntry hostByName (const std::string &name, int domain) throw (NetDbError)
 Resolve a host by it's name.

HostEntry hostByAddress (const NetworkAddress &addr) throw (NetDbError)
 Resolve a host by it's address.

ServiceEntry serviceByName (const std::string &name, const std::string &proto) throw (NetDbError)
 Resolve a service by it's name & protocol.

ServiceEntry serviceByPort (port_t port, const std::string &proto) throw (NetDbError)
 Resolve a service by it's port & protocol.


Detailed Description

NetDb resolver class.

Author:
Christian Prochnow <cproch@seculogix.de>

Definition at line 61 of file pnetdb.h.


Member Function Documentation

HostEntry P::NetDb::hostByAddress const NetworkAddress addr  )  throw (NetDbError) [static]
 

Resolve a host by it's address.

HostEntry P::NetDb::hostByName const std::string &  name,
int  domain
throw (NetDbError) [static]
 

Resolve a host by it's name.

ServiceEntry P::NetDb::serviceByName const std::string &  name,
const std::string &  proto
throw (NetDbError) [static]
 

Resolve a service by it's name & protocol.

ServiceEntry P::NetDb::serviceByPort port_t  port,
const std::string &  proto
throw (NetDbError) [static]
 

Resolve a service by it's port & protocol.


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:35 2004 for P::Classes by doxygen 1.3.3