Logo Search packages:      
Sourcecode: dbeacon version File versions  Download package

Public Member Functions | Public Attributes | Friends

address Struct Reference

List of all members.

Public Member Functions

 address (int family)
 address (const address &address)
int addrlen () const
int compare (const address &) const
bool copy_address (const address &source)
int family () const
int fromsocket (int sock)
bool is_equal (const address &) const
bool is_multicast () const
bool is_unspecified () const
int optlevel () const
bool parse (const char *, bool multicast=true, bool addport=true)
int port () const
sockaddr * saddr ()
const sockaddr * saddr () const
void set (const sockaddr *)
bool set_addr (const char *)
bool set_family (int)
bool set_port (int)
std::string to_string (bool port=true) const
char * to_string (char *, size_t, bool port=true) const
sockaddr_in * v4 ()
const sockaddr_in * v4 () const
sockaddr_in6 * v6 ()
const sockaddr_in6 * v6 () const

Public Attributes

sockaddr_storage stor

Friends

bool operator< (const address &a1, const address &a2)
bool operator== (const address &a1, const address &a2)

Detailed Description

Definition at line 26 of file address.h.


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

Generated by  Doxygen 1.6.0   Back to index