![]() |
libzmq master
The Intelligent Transport Layer
|
#include <tcp_address.hpp>
Public Member Functions | |
| tcp_address_t () | |
| ~tcp_address_t () | |
| sockaddr * | addr () |
| socklen_t | addrlen () |
| sa_family_t | family () |
| int | resolve (const char *name_, bool local_, bool ipv4only_) |
Private Member Functions | |
| tcp_address_t (const tcp_address_t &) | |
| const tcp_address_t & | operator= (const tcp_address_t &) |
| int | resolve_hostname (const char *hostname_, bool ipv4only_) |
| int | resolve_interface (const char *interface_, bool ipv4only_) |
| int | resolve_nic_name (const char *nic_, bool ipv4only_) |
Private Attributes | |
| union { | |
| sockaddr generic | |
| sockaddr_in ipv4 | |
| sockaddr_in6 ipv6 | |
| } | address |
Definition at line 37 of file tcp_address.hpp.
| zmq::tcp_address_t::tcp_address_t | ( | ) |
Definition at line 363 of file tcp_address.cpp.
| zmq::tcp_address_t::~tcp_address_t | ( | ) |
Definition at line 368 of file tcp_address.cpp.
| zmq::tcp_address_t::tcp_address_t | ( | const tcp_address_t & | ) | [private] |
| sockaddr * zmq::tcp_address_t::addr | ( | ) |
Definition at line 415 of file tcp_address.cpp.
| socklen_t zmq::tcp_address_t::addrlen | ( | ) |
Definition at line 420 of file tcp_address.cpp.
| sa_family_t zmq::tcp_address_t::family | ( | ) |
Definition at line 431 of file tcp_address.cpp.
| const tcp_address_t& zmq::tcp_address_t::operator= | ( | const tcp_address_t & | ) | [private] |
| int zmq::tcp_address_t::resolve | ( | const char * | name_, |
| bool | local_, | ||
| bool | ipv4only_ | ||
| ) |
Definition at line 372 of file tcp_address.cpp.
| int zmq::tcp_address_t::resolve_hostname | ( | const char * | hostname_, |
| bool | ipv4only_ | ||
| ) | [private] |
Definition at line 308 of file tcp_address.cpp.
References zmq_assert.
| int zmq::tcp_address_t::resolve_interface | ( | const char * | interface_, |
| bool | ipv4only_ | ||
| ) | [private] |
Definition at line 216 of file tcp_address.cpp.
References zmq_assert.
| int zmq::tcp_address_t::resolve_nic_name | ( | const char * | nic_, |
| bool | ipv4only_ | ||
| ) | [private] |
Definition at line 204 of file tcp_address.cpp.
union { ... } zmq::tcp_address_t::address [private] |
| sockaddr zmq::tcp_address_t::generic |
Definition at line 65 of file tcp_address.hpp.
| sockaddr_in zmq::tcp_address_t::ipv4 |
Definition at line 66 of file tcp_address.hpp.
| sockaddr_in6 zmq::tcp_address_t::ipv6 |
Definition at line 67 of file tcp_address.hpp.
1.7.3