boost::net::socket::ip4::address — Address class for IP4.
class address { public: // construct/copy/destruct address(); address(const any_address &); address(char const *, port_t); // public member functions family_t family() const; port_t port() const; void port(port_t) ; void ip(char const *) ; std::string ip() const; std::string to_string() const; std::pair< void *, size_t > representation() ; std::pair< const void *, size_t > representation() const; bool operator<(const address &) const; bool operator==(const address &) const; bool operator!=(const address &) const; };
address
public member functionsfamily_t family() const;
port_t port() const;
void port(port_t port) ;
void ip(char const * ip_string) ;
std::string ip() const;
std::string to_string() const;
std::pair< void *, size_t > representation() ;
std::pair< const void *, size_t > representation() const;
bool operator<(const address & addr) const;
bool operator==(const address & addr) const;
bool operator!=(const address & addr) const;
Copyright © 2004 Hugo Duncan |