Clementine
Classes | Public Member Functions | Friends | List of all members
asio::ip::detail::endpoint Class Reference

Public Member Functions

ASIO_DECL endpoint (int family, unsigned short port_num) ASIO_NOEXCEPT
 
ASIO_DECL endpoint (const asio::ip::address &addr, unsigned short port_num) ASIO_NOEXCEPT
 
 endpoint (const endpoint &other) ASIO_NOEXCEPT
 
endpointoperator= (const endpoint &other) ASIO_NOEXCEPT
 
asio::detail::socket_addr_type * data () ASIO_NOEXCEPT
 
const asio::detail::socket_addr_type * data () const ASIO_NOEXCEPT
 
std::size_t size () const ASIO_NOEXCEPT
 
ASIO_DECL void resize (std::size_t new_size)
 
std::size_t capacity () const ASIO_NOEXCEPT
 
ASIO_DECL unsigned short port () const ASIO_NOEXCEPT
 
ASIO_DECL void port (unsigned short port_num) ASIO_NOEXCEPT
 
ASIO_DECL asio::ip::address address () const ASIO_NOEXCEPT
 
ASIO_DECL void address (const asio::ip::address &addr) ASIO_NOEXCEPT
 
bool is_v4 () const ASIO_NOEXCEPT
 
ASIO_DECL std::string to_string () const
 

Friends

ASIO_DECL friend bool operator== (const endpoint &e1, const endpoint &e2) ASIO_NOEXCEPT
 
ASIO_DECL friend bool operator< (const endpoint &e1, const endpoint &e2) ASIO_NOEXCEPT
 

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