skstream
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
basic_address Class Reference
Inheritance diagram for basic_address:
basic_socket ip_datagram_address tcp_address

Classes

class  const_iterator
 

Public Member Functions

struct addrinfo * takeAddressInfo ()
 
bool isReady () const
 Check if an address has been resolved.
 
int resolveListener (const std::string &service)
 
int resolveConnector (const std::string &host, const std::string &service)
 
std::size_t size () const
 Check the number of network address resolved.
 
const_iterator begin () const
 
const_iterator end () const
 
struct addrinfo * getAddrinfo (std::size_t c) const
 Get one of the resolved address info records.
 
virtual SOCKET_TYPE getSocket () const
 
- Public Member Functions inherited from basic_socket
int getLastError () const
 
void copyLastError (const basic_socket &other)
 
bool is_open () const
 

Protected Member Functions

 basic_address (int, int)
 
int resolve (int, const char *, const char *)
 
- Protected Member Functions inherited from basic_socket
void setLastError () const
 

Protected Attributes

struct addrinfo * _addrlist
 
int _type
 
int _protocol
 
- Protected Attributes inherited from basic_socket
int LastError
 

Additional Inherited Members

- Static Public Member Functions inherited from basic_socket
static bool startup ()
 

Constructor & Destructor Documentation

basic_address::basic_address ( int  type,
int  protocol 
)
protected

This software package has been extensively modified by members of the Worldforge Project. See the file ChangeLog for details.

$Id$

Referenced by size().


The documentation for this class was generated from the following files: